mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-15 10:19:39 +00:00
NetworkSession: remove obsolete TODO
This commit is contained in:
parent
b059e0b475
commit
ffff0a6244
@ -326,7 +326,6 @@ class NetworkSession{
|
|||||||
$stream = new PacketBatch($this->compressor->decompress($payload));
|
$stream = new PacketBatch($this->compressor->decompress($payload));
|
||||||
}catch(DecompressionException $e){
|
}catch(DecompressionException $e){
|
||||||
$this->logger->debug("Failed to decompress packet: " . base64_encode($payload));
|
$this->logger->debug("Failed to decompress packet: " . base64_encode($payload));
|
||||||
//TODO: this isn't incompatible game version if we already established protocol version
|
|
||||||
throw BadPacketException::wrap($e, "Compressed packet batch decode error");
|
throw BadPacketException::wrap($e, "Compressed packet batch decode error");
|
||||||
}finally{
|
}finally{
|
||||||
Timings::$playerNetworkReceiveDecompressTimer->stopTiming();
|
Timings::$playerNetworkReceiveDecompressTimer->stopTiming();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user