Removed debug code

This commit is contained in:
Shoghi Cervantes 2013-11-26 17:28:48 +01:00
parent bd0d708274
commit 493b7532df

View File

@ -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());