diff --git a/src/pocketmine/network/mcpe/protocol/PlayerSkinPacket.php b/src/pocketmine/network/mcpe/protocol/PlayerSkinPacket.php index c029a1a21..2fa531419 100644 --- a/src/pocketmine/network/mcpe/protocol/PlayerSkinPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PlayerSkinPacket.php @@ -40,8 +40,6 @@ class PlayerSkinPacket extends DataPacket{ public $newSkinName = ""; /** @var Skin */ public $skin; - /** @var bool */ - public $premium = false; protected function decodePayload(){ @@ -54,7 +52,6 @@ class PlayerSkinPacket extends DataPacket{ $capeData = $this->getString(); $geometryModel = $this->getString(); $geometryData = $this->getString(); - $this->premium = $this->getBool(); $this->skin = new Skin($skinId, $skinData, $capeData, $geometryModel, $geometryData); } @@ -69,7 +66,6 @@ class PlayerSkinPacket extends DataPacket{ $this->putString($this->skin->getCapeData()); $this->putString($this->skin->getGeometryName()); $this->putString($this->skin->getGeometryData()); - $this->putBool($this->premium); } public function handle(NetworkSession $session) : bool{ diff --git a/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php b/src/pocketmine/network/mcpe/protocol/ProtocolInfo.php index 3dc7e9164..275cb1b28 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 = 270; + public const CURRENT_PROTOCOL = 261; /** * Current Minecraft PE version reported by the server. This is usually the earliest currently supported version. */ - public const MINECRAFT_VERSION = 'v1.5.0.0 beta'; + public const MINECRAFT_VERSION = 'v1.4.0'; /** * Version number sent to clients in ping responses. */ - public const MINECRAFT_VERSION_NETWORK = '1.5.0.0'; + public const MINECRAFT_VERSION_NETWORK = '1.4.0'; public const LOGIN_PACKET = 0x01; public const PLAY_STATUS_PACKET = 0x02;