Merge pull request #324 from Torm/master

Fix heal command for players with more health than 20
This commit is contained in:
sk89q 2014-08-10 21:03:28 -07:00
commit 2a69d1c7c9

View File

@ -150,7 +150,7 @@ public void heal(CommandContext args,CommandSender sender) throws CommandExcepti
}
for (Player player : targets) {
player.setHealth(20);
player.setHealth(player.getMaxHealth());
player.setFoodLevel(20);
// Tell the user