mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-30 09:49:51 +02:00
Merge pull request #97 from JamieSinn/patch-1
Added the ability to stop fire with /heal
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user