Fixed server crash ಠ_ಠ

This commit is contained in:
Lizbeth Rika committed 2014-12-04 15:24:15 +00:00
1 parent f948b8237e
commit 30a78a8ed7
1 file changed
+1 -1
@@ -84,7 +84,7 @@ public class EntityMagicMissile extends EntityThrowable {
}
public boolean getTarget() {
if(target != null && target.getHealth() > 0 && !target.isDead && worldObj.getLoadedEntityList().contains(target))
if(target != null && target.getHealth() > 0 && !target.isDead && worldObj.loadedEntityList.contains(target))
return true;
target = null;