diff --git a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandkill.java b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandkill.java index d2a76cbfade..fb669cc4c19 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandkill.java +++ b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandkill.java @@ -34,7 +34,7 @@ protected void updatePlayer(final Server server, final CommandSource sender, fin return; } ede.getEntity().setLastDamageCause(ede); - matchPlayer.setHealth(0); + matchPlayer.damage(Float.MAX_VALUE); sender.sendTl("kill", matchPlayer.getDisplayName()); }