Fixed bug with balloons moving with entities
This commit is contained in:
parent
4395f3aa10
commit
ddae9ed34b
1 changed files with 2 additions and 4 deletions
|
@ -196,9 +196,7 @@ public class EntityBalloon extends Entity implements IEntityAdditionalSpawnData
|
||||||
}
|
}
|
||||||
else if(latchedEntity != null && latchedEntity.getHealth() > 0)
|
else if(latchedEntity != null && latchedEntity.getHealth() > 0)
|
||||||
{
|
{
|
||||||
posX = latchedEntity.posX;
|
setPosition(posX = latchedEntity.posX, posY = latchedEntity.posY + 3F, posZ = latchedEntity.posZ);
|
||||||
posY = latchedEntity.posY + 3F;
|
|
||||||
posZ = latchedEntity.posZ;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue