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:
@@ -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()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user