mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Chunk ticking depends on chunk loaders, fixes #3118
This commit is contained in:
parent
9e4d88a852
commit
7f6704f761
@ -805,7 +805,7 @@ class Level implements ChunkManager, Metadatable{
|
||||
}
|
||||
|
||||
private function tickChunks(){
|
||||
if($this->chunksPerTick <= 0 or count($this->players) === 0){
|
||||
if($this->chunksPerTick <= 0 or count($this->loaders) === 0){
|
||||
$this->chunkTickList = [];
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user