Fixed build

This commit is contained in:
Dylan K. Taylor 2021-03-26 22:57:21 +00:00
parent 06f20234f7
commit 9137666952
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -916,12 +916,12 @@ class NetworkSession{
if(!$this->isConnected()){ if(!$this->isConnected()){
return; return;
} }
$currentWorld->timings->syncChunkSend->startTiming(); $world->timings->syncChunkSend->startTiming();
try{ try{
$this->queueCompressed($promise); $this->queueCompressed($promise);
$onCompletion(); $onCompletion();
}finally{ }finally{
$currentWorld->timings->syncChunkSend->stopTiming(); $world->timings->syncChunkSend->stopTiming();
} }
} }
); );