From 2f5edb6329412edf65f5d2d08e467367566de534 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Fri, 2 Mar 2012 09:40:04 -0800 Subject: [PATCH] Removing redundancy --- .../com/gmail/nossr50/listeners/mcEntityListener.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java index 9f73967c7..bd75030dc 100644 --- a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java @@ -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) {