mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
added chunk unloading(average chunks per player in inf world: 289now)
This commit is contained in:
parent
d85814e036
commit
37bbfe2d81
2 changed files with 36 additions and 6 deletions
|
|
@ -730,6 +730,10 @@ class Entity extends Position
|
|||
$this->updateMovement();
|
||||
}
|
||||
|
||||
if($this->isPlayer()){
|
||||
$this->player->entityTick();
|
||||
}
|
||||
|
||||
$this->needsUpdate = $hasUpdate;
|
||||
$this->lastUpdate = $now;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue