diff --git a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java index ef5944f69..e0453be80 100644 --- a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java @@ -190,7 +190,7 @@ public class mcEntityListener implements Listener //Remove mob from mob spawner list if(plugin.misc.mobSpawnerList.contains(x.getEntityId())) - plugin.misc.mobSpawnerList.remove(x.getEntityId()); + plugin.misc.mobSpawnerList.remove((Object)x.getEntityId()); //Remove bleed track if(plugin.misc.bleedTracker.contains((LivingEntity)x))