mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
ChunkCache: we have no business autoloading chunks during sending
if the chunk isn't loaded, this is a bug and it should crash.
This commit is contained in:
parent
5096741b29
commit
716de4d9d6
@ -110,7 +110,7 @@ class ChunkCache implements ChunkListener{
|
||||
new ChunkRequestTask(
|
||||
$chunkX,
|
||||
$chunkZ,
|
||||
$this->world->getOrLoadChunk($chunkX, $chunkZ),
|
||||
$this->world->getChunk($chunkX, $chunkZ),
|
||||
$this->caches[$chunkHash],
|
||||
$this->compressor,
|
||||
function() use ($chunkX, $chunkZ) : void{
|
||||
|
Loading…
x
Reference in New Issue
Block a user