diff --git a/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php b/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php index 8b3f3fa89..27b4e3eb6 100644 --- a/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php +++ b/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php @@ -39,15 +39,15 @@ interface ProtocolInfo{ /** * Actual Minecraft: PE protocol version */ - public const CURRENT_PROTOCOL = 280; + public const CURRENT_PROTOCOL = 281; /** * Current Minecraft PE version reported by the server. This is usually the earliest currently supported version. */ - public const MINECRAFT_VERSION = 'v1.6.0.1 beta'; + public const MINECRAFT_VERSION = 'v1.6.0.5 beta'; /** * Version number sent to clients in ping responses. */ - public const MINECRAFT_VERSION_NETWORK = '1.6.0.1'; + public const MINECRAFT_VERSION_NETWORK = '1.6.0.5'; public const LOGIN_PACKET = 0x01; public const PLAY_STATUS_PACKET = 0x02; diff --git a/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php b/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php index a01cb6384..61286e6ba 100644 --- a/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php @@ -70,6 +70,7 @@ class ResourcePacksInfoPacket extends DataPacket{ $this->putLLong($entry->getPackSize()); $this->putString(""); //TODO: encryption key $this->putString(""); //TODO: subpack name + $this->putString(""); //TODO: content identity } $this->putLShort(count($this->resourcePackEntries)); foreach($this->resourcePackEntries as $entry){ @@ -78,6 +79,7 @@ class ResourcePacksInfoPacket extends DataPacket{ $this->putLLong($entry->getPackSize()); $this->putString(""); //TODO: encryption key $this->putString(""); //TODO: subpack name + $this->putString(""); //TODO: content identity } }