Fix for IndexOutOfBounds issue (MCCORE-40)

This commit is contained in:
GJ 2012-02-22 17:04:10 -05:00
parent d06ec5e452
commit 6f2f99dda0

View File

@ -190,7 +190,7 @@ public class mcEntityListener implements Listener
//Remove mob from mob spawner list //Remove mob from mob spawner list
if(plugin.misc.mobSpawnerList.contains(x.getEntityId())) if(plugin.misc.mobSpawnerList.contains(x.getEntityId()))
plugin.misc.mobSpawnerList.remove(x.getEntityId()); plugin.misc.mobSpawnerList.remove((Object)x.getEntityId());
//Remove bleed track //Remove bleed track
if(plugin.misc.bleedTracker.contains((LivingEntity)x)) if(plugin.misc.bleedTracker.contains((LivingEntity)x))