1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-30 17:59:53 +02:00

Merge pull request #97 from JamieSinn/patch-1

Added the ability to stop fire with /heal
This commit is contained in:
Alexander Schepp
2012-07-11 04:14:58 -07:00

View File

@@ -26,6 +26,7 @@ public class Commandheal extends EssentialsCommand
user.checkCooldown(TimestampType.LASTHEAL, ess.getRanks().getHealCooldown(user), true, Permissions.HEAL_COOLDOWN_BYPASS);
user.setHealth(20);
user.setFireTicks(0);
user.setFoodLevel(20);
user.sendMessage(_("heal"));
}