From 0c96c140458f5e3caca717b876ecf786d5e24a3a Mon Sep 17 00:00:00 2001 From: nossr50 Date: Thu, 2 Dec 2010 14:27:36 -0800 Subject: [PATCH] Death messages are fixed now. --- vMinecraftListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vMinecraftListener.java b/vMinecraftListener.java index 3abb80a1e..14a017e21 100644 --- a/vMinecraftListener.java +++ b/vMinecraftListener.java @@ -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;