diff --git a/src/pocketmine/network/protocol/ResourcePackClientResponsePacket.php b/src/pocketmine/network/protocol/ResourcePackClientResponsePacket.php index 02a7fb467..649e5de67 100644 --- a/src/pocketmine/network/protocol/ResourcePackClientResponsePacket.php +++ b/src/pocketmine/network/protocol/ResourcePackClientResponsePacket.php @@ -27,8 +27,12 @@ namespace pocketmine\network\protocol; class ResourcePackClientResponsePacket extends DataPacket{ const NETWORK_ID = Info::RESOURCE_PACK_CLIENT_RESPONSE_PACKET; + public $unknownByte; + public $unknownShort; + public function decode(){ - var_dump($this->buffer); + $this->unknownByte = $this->getByte(); + $this->unknownShort = $this->getShort(); } public function encode(){