diff --git a/src/world/Entity.php b/src/world/Entity.php index 2d15843d0a..3f2b77ac66 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -366,7 +366,6 @@ class Entity extends Position{ return false; } - $hasUpdate = false; $now = microtime(true); if($this->check === false){ $this->lastUpdate = $now; @@ -378,6 +377,7 @@ class Entity extends Position{ $this->tickCounter = 1; $hasUpdate = $this->environmentUpdate(); }else{ + $hasUpdate = true; $this->tickCounter = 0; }