mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Death messages are fixed now.
This commit is contained in:
parent
6ab7b49e94
commit
0c96c14045
@ -83,7 +83,7 @@ public class vMinecraftListener extends PluginListener {
|
|||||||
if (vMinecraftSettings.getInstance().isEzModo(player.getName())) {
|
if (vMinecraftSettings.getInstance().isEzModo(player.getName())) {
|
||||||
return oldValue > newValue;
|
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());
|
vMinecraftChat.gmsg(player, Colors.Gray + player.getName() + " " + vMinecraftSettings.randomDeathMsg());
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user