From df87e7a3a9e1c3c5383d4b7caca2cd5bbfa32c27 Mon Sep 17 00:00:00 2001 From: GameHerobrine <55945072+GameHerobrine@users.noreply.github.com> Date: Sun, 2 Jul 2023 00:16:23 +0300 Subject: [PATCH] Update Entity.php --- src/entity/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/Entity.php b/src/entity/Entity.php index bb4d7d25..3b896aab 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -414,8 +414,8 @@ class Entity extends Position if($this->level->getBlockWithoutVector($blockX, $blockY, $blockZ)->isSolid){ $this->harm(1, "suffocation"); // Suffocation - break; $hasUpdate = true; + break; } }