Fix balloons flying away after chunk unload

This commit is contained in:
Aidan C. Brady 2014-01-05 12:04:22 -05:00
parent 0193659c74
commit 1e6cc0916f

View file

@ -73,7 +73,7 @@ public class EntityBalloon extends Entity implements IEntityAdditionalSpawnData
return;
}
if(latched != null && latched.getBlockId(worldObj) == 0)
if(latched != null && (latched.exists(worldObj) && latched.getBlockId(worldObj) == 0))
{
latched = null;
}