mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Remove $create parameter from ChunkManager::getChunk()
this restores SimpleChunkManager's behaviour to PM3, removing the need for GeneratorChunkManager (although I'm dubious whether SubChunkExplorer makes any sense in there any more now that we have morton in the mix).
This commit is contained in:
@ -40,7 +40,7 @@ interface ChunkManager{
|
||||
*/
|
||||
public function setBlockAt(int $x, int $y, int $z, Block $block) : void;
|
||||
|
||||
public function getChunk(int $chunkX, int $chunkZ, bool $create = false) : ?Chunk;
|
||||
public function getChunk(int $chunkX, int $chunkZ) : ?Chunk;
|
||||
|
||||
public function setChunk(int $chunkX, int $chunkZ, ?Chunk $chunk) : void;
|
||||
|
||||
|
Reference in New Issue
Block a user