mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Faster NBT parsing
This commit is contained in:
@@ -31,7 +31,7 @@ class RakNetPacket extends Packet{
|
||||
public function pid(){
|
||||
return $this->packetID;
|
||||
}
|
||||
|
||||
|
||||
protected function get($len){
|
||||
if($len <= 0){
|
||||
$this->offset = strlen($this->buffer) - 1;
|
||||
|
Reference in New Issue
Block a user