spigot heal player

if (!player.isDead()) {
	try {
		player.setHealth(player.getHealth()+hpToHeal);
	} catch (Exception exception) { exception.printStackTrace(); }
}