From 6f2f99dda00529839841b0218c6527518a6d31f1 Mon Sep 17 00:00:00 2001 From: GJ Date: Wed, 22 Feb 2012 17:04:10 -0500 Subject: [PATCH] Fix for IndexOutOfBounds issue (MCCORE-40) --- src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))