PROTOCOL > ProtocolInfo9::CURRENT_PROTOCOL_9){ //0.6.1 and below From NostalgiaCore-BackPort Author:Gameherobrine $this->source = $this->getString(); } $this->message = $this->getString(); } public function encode(){ $this->reset(); if($this->PROTOCOL > ProtocolInfo9::CURRENT_PROTOCOL_9){ //0.6.1 and below From NostalgiaCore-BackPort Author:Gameherobrine $this->putString($this->source); } $this->putString($this->message); } }