mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 05:34:54 +00:00
parent
6ba0abf587
commit
f82c59bdc4
@ -857,7 +857,7 @@ class Level implements ChunkManager, Metadatable{
|
||||
|
||||
$chunksPerLoader = min(200, max(1, (int) ((($this->chunksPerTick - count($this->loaders)) / count($this->loaders)) + 0.5)));
|
||||
$randRange = 3 + $chunksPerLoader / 30;
|
||||
$randRange = $randRange > $this->chunkTickRadius ? $this->chunkTickRadius : $randRange;
|
||||
$randRange = (int) ($randRange > $this->chunkTickRadius ? $this->chunkTickRadius : $randRange);
|
||||
|
||||
foreach($this->loaders as $loader){
|
||||
$chunkX = $loader->getX() >> 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user