mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-15 02:09:42 +00:00
More undefined variables D:
This commit is contained in:
parent
0c6d8b9815
commit
1122a3c511
@ -810,7 +810,7 @@ class Level implements ChunkManager, Metadatable{
|
||||
for($chunk = 0; $chunk < $chunksPerLoader; ++$chunk){
|
||||
$dx = mt_rand(-$randRange, $randRange);
|
||||
$dz = mt_rand(-$randRange, $randRange);
|
||||
$hash = Level::chunkHash($dx + $x, $dz + $z);
|
||||
$hash = Level::chunkHash($dx + $chunkX, $dz + $chunkZ);
|
||||
if(!isset($this->chunkTickList[$hash]) and isset($this->chunks[$hash])){
|
||||
$this->chunkTickList[$hash] = -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user