mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Cloned the initial empty chunk
This commit is contained in:
parent
1d1a8a316e
commit
c68cd2c496
@ -107,7 +107,7 @@ class Flat extends Generator{
|
||||
}
|
||||
|
||||
|
||||
$this->chunk = $this->level->getChunk($chunkX, $chunkZ);
|
||||
$this->chunk = clone $this->level->getChunk($chunkX, $chunkZ);
|
||||
$this->chunk->setGenerated();
|
||||
|
||||
for($Z = 0; $Z < 16; ++$Z){
|
||||
|
Loading…
x
Reference in New Issue
Block a user