mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Fixed entities not updating
This commit is contained in:
parent
508ee7e1d6
commit
523c4390fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue