From 04bd307bb09221a1e771c39c60c6d4cc5b18a867 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Wed, 30 Aug 2023 11:57:09 +0300 Subject: [PATCH] i commited another crime --- 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 89c101b0..24bf7ecb 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -736,7 +736,7 @@ class Entity extends Position if($this->lastHeadYaw != $this->headYaw){ $this->sendHeadYaw(); } - if($this->class !== ENTITY_PLAYER && $update){ + if($this->class === ENTITY_PLAYER || $update){ $this->updateMovement(); }