mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-21 23:04:43 +02:00
Fix for ezModo not working and changed brackets in chat to be White again for now.
This commit is contained in:
@ -86,6 +86,10 @@ public class vMinecraftListener extends PluginListener {
|
||||
//Use: Checks for exploits and runs the commands
|
||||
//=====================================================================
|
||||
public boolean onHealthChange(Player player,int oldValue,int newValue){
|
||||
//Invincibility for EzModo players
|
||||
if(vMinecraftSettings.getInstance().isEzModo(player.getName())){
|
||||
return false;
|
||||
}
|
||||
//Sets a player as dead
|
||||
if (player.getHealth() < 1){
|
||||
vMinecraftUsers.getProfile(player).isDead(true);
|
||||
|
Reference in New Issue
Block a user