From f6b2fdf422a4a835645351f36bd5d04c1a599b75 Mon Sep 17 00:00:00 2001 From: Sen Date: Wed, 21 May 2025 16:50:59 +0200 Subject: [PATCH] fix entity void height --- common/src/common/entity/Entity.java | 2 +- common/src/common/entity/item/EntityCart.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/common/entity/Entity.java b/common/src/common/entity/Entity.java index 4b351fa..52fad4f 100755 --- a/common/src/common/entity/Entity.java +++ b/common/src/common/entity/Entity.java @@ -346,7 +346,7 @@ public abstract class Entity this.setOnFireFromMolten(); } - if (this.posY < (double)(-World.MAX_SIZE_Y)) + if (this.posY < (double)(-World.MAX_SIZE_Y) - 64.0) { this.onVoidUpdate(); } diff --git a/common/src/common/entity/item/EntityCart.java b/common/src/common/entity/item/EntityCart.java index bf376a3..e94b911 100755 --- a/common/src/common/entity/item/EntityCart.java +++ b/common/src/common/entity/item/EntityCart.java @@ -242,7 +242,7 @@ public abstract class EntityCart extends Entity implements IWorldNameable 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(); }