From c62e3386aabc50d756616b71790476486f9ffd13 Mon Sep 17 00:00:00 2001 From: Sen Date: Wed, 21 May 2025 12:08:58 +0200 Subject: [PATCH] change entity kill 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 59c59a1..4b351fa 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 < -64.0D) + if (this.posY < (double)(-World.MAX_SIZE_Y)) { this.onVoidUpdate(); } diff --git a/common/src/common/entity/item/EntityCart.java b/common/src/common/entity/item/EntityCart.java index a9222fe..bf376a3 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 < -64.0D) + if (this.posY < (double)(-World.MAX_SIZE_Y)) { this.onVoidUpdate(); }