From e0b97b4fb9a7370ba48f8cf06b74866ff28ca4c8 Mon Sep 17 00:00:00 2001 From: LT_Name <572413378@qq.com> Date: Sun, 27 Feb 2022 21:12:35 +0800 Subject: [PATCH] Correct Void Damage Height --- src/main/java/cn/nukkit/entity/Entity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/nukkit/entity/Entity.java b/src/main/java/cn/nukkit/entity/Entity.java index 3b7d8a7d8b2..f510d25f55d 100644 --- a/src/main/java/cn/nukkit/entity/Entity.java +++ b/src/main/java/cn/nukkit/entity/Entity.java @@ -1361,7 +1361,7 @@ public boolean entityBaseTick(int tickDiff) { this.checkBlockCollision(); - if (this.y <= -16 && this.isAlive()) { + if (this.y <= -18 && this.isAlive()) { if (this instanceof Player) { Player player = (Player) this; if (!player.isCreative()) this.attack(new EntityDamageEvent(this, DamageCause.VOID, 10));