This commit is contained in:
Dylan K. Taylor 2021-03-27 00:08:23 +00:00
parent 9137666952
commit d5549b72de
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -912,7 +912,7 @@ class NetworkSession{
ChunkCache::getInstance($world, $this->compressor)->request($chunkX, $chunkZ)->onResolve(
//this callback may be called synchronously or asynchronously, depending on whether the promise is resolved yet
function(CompressBatchPromise $promise) use ($onCompletion) : void{
function(CompressBatchPromise $promise) use ($world, $onCompletion) : void{
if(!$this->isConnected()){
return;
}