change entity kill height

This commit is contained in:
Sen 2025-05-21 12:08:58 +02:00
parent 7fd8a49d5c
commit c62e3386aa
2 changed files with 2 additions and 2 deletions

View file

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

View file

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