Remove unused variable

This commit is contained in:
Dylan K. Taylor 2021-03-26 22:43:21 +00:00
parent a223d1cbf3
commit 49cf009017
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 ($world, $chunkX, $chunkZ, $onCompletion) : void{
function(CompressBatchPromise $promise) use ($chunkX, $chunkZ, $onCompletion) : void{
if(!$this->isConnected()){
return;
}