mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Fixed server crash ಠ_ಠ
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user