Fixes for derps found with PHPStorm code inspector

This commit is contained in:
Intyre
2015-10-10 23:10:24 +02:00
parent 813acc54dc
commit 09b4d4dc7a
3 changed files with 7 additions and 11 deletions

View File

@ -1852,7 +1852,7 @@ class Server{
$task = new CompressBatchedTask($str, $targets, $this->networkCompressionLevel, $channel);
$this->getScheduler()->scheduleAsyncTask($task);
}else{
$this->broadcastPacketsCallback(zlib_encode($str, ZLIB_ENCODING_DEFLATE, $this->networkCompressionLevel), $targets, $channel);
$this->broadcastPacketsCallback(zlib_encode($str, ZLIB_ENCODING_DEFLATE, $this->networkCompressionLevel), $targets);
}
Timings::$playerNetworkTimer->stopTiming();