mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 11:45:30 +00:00
Removed debug code
This commit is contained in:
parent
bd0d708274
commit
493b7532df
@ -65,9 +65,6 @@ class MinecraftInterface{
|
|||||||
if($len === false){
|
if($len === false){
|
||||||
return $pk;
|
return $pk;
|
||||||
}
|
}
|
||||||
echo "received packet [".strtoupper(bin2hex(Utils::writeInt(crc32($buf))))."]".PHP_EOL;
|
|
||||||
global $lastPacketSent;
|
|
||||||
$lastPacketSent = bin2hex($buf);
|
|
||||||
$this->bandwidth[0] += $len;
|
$this->bandwidth[0] += $len;
|
||||||
$this->parsePacket($buf, $source, $port);
|
$this->parsePacket($buf, $source, $port);
|
||||||
return ($pk !== false ? $pk : $this->popPacket());
|
return ($pk !== false ? $pk : $this->popPacket());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user