fix entity void height

This commit is contained in:
Sen 2025-05-21 16:50:59 +02:00
parent 688522c5ca
commit f6b2fdf422
2 changed files with 2 additions and 2 deletions

View file

@ -346,7 +346,7 @@ public abstract class Entity
this.setOnFireFromMolten(); this.setOnFireFromMolten();
} }
if (this.posY < (double)(-World.MAX_SIZE_Y)) if (this.posY < (double)(-World.MAX_SIZE_Y) - 64.0)
{ {
this.onVoidUpdate(); this.onVoidUpdate();
} }

View file

@ -242,7 +242,7 @@ public abstract class EntityCart extends Entity implements IWorldNameable
this.setDamage(this.getDamage() - 1); this.setDamage(this.getDamage() - 1);
} }
if (this.posY < (double)(-World.MAX_SIZE_Y)) if (this.posY < (double)(-World.MAX_SIZE_Y) - 64.0)
{ {
this.onVoidUpdate(); this.onVoidUpdate();
} }