1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-19 13:01:20 +02:00

Healing others puts them out

Extinguishes the fire on another player if you do /heal <player>
This commit is contained in:
JamieSinn
2013-04-01 17:50:34 -03:00
parent d91b174f96
commit e4e07cfc3d

View File

@@ -61,6 +61,7 @@ public class Commandheal extends EssentialsCommand
final Player player = p.getPlayer();
player.setHealth(20);
player.setFoodLevel(20);
player.setFireTicks(0);
player.sendMessage(_("heal"));
sender.sendMessage(_("healOther", player.getDisplayName()));
}