Fixed clouds going straight down when spawned with an egg

This commit is contained in:
Sollace 2019-02-01 11:07:19 +02:00
parent 4189ebf425
commit e00df3aa18

View file

@ -77,6 +77,7 @@ public class EntityCloud extends EntityFlying implements IAnimals {
public EntityCloud(World world) { public EntityCloud(World world) {
super(world); super(world);
ignoreFrustumCheck = true; ignoreFrustumCheck = true;
targetAltitude = getRandomFlyingHeight();
} }
@Override @Override