Removing redundancy

This commit is contained in:
nossr50 2012-03-02 09:40:04 -08:00
parent 30e5410906
commit 2f5edb6329

View File

@ -75,14 +75,6 @@ public class mcEntityListener implements Listener
event.setCancelled(true);
}
//Check for mcgod mode
if(defender instanceof Player)
{
Player playerDefender = (Player)defender;
if(Users.getProfile(playerDefender).getGodMode())
event.setCancelled(true);
}
//Make sure defender is not invincible
if(defender instanceof LivingEntity)
{