Death messages are fixed now.

This commit is contained in:
nossr50 2010-12-02 14:27:36 -08:00
parent 6ab7b49e94
commit 0c96c14045

View File

@ -83,7 +83,7 @@ public class vMinecraftListener extends PluginListener {
if (vMinecraftSettings.getInstance().isEzModo(player.getName())) {
return oldValue > newValue;
}
else if (vMinecraftSettings.getInstance().globalmessages() && player.getHealth() < 1) {
if (vMinecraftSettings.getInstance().globalmessages() && newValue < 1) {
vMinecraftChat.gmsg(player, Colors.Gray + player.getName() + " " + vMinecraftSettings.randomDeathMsg());
}
return false;