Merge pull request #350 from kosakriszi/master

Reset player saturation and exhaustion for heal command
This commit is contained in:
Wizjany 2016-01-09 19:48:09 -05:00
commit 536132a250

View File

@ -158,6 +158,8 @@ public void heal(CommandContext args,CommandSender sender) throws CommandExcepti
for (Player player : targets) {
player.setHealth(player.getMaxHealth());
player.setFoodLevel(20);
player.setSaturation(20);
player.setExhaustion(0);
// Tell the user
if (player.equals(sender)) {