Fix balloons flying away after chunk unload
This commit is contained in:
parent
0193659c74
commit
1e6cc0916f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue