Merge branch 'release/3.2'

This commit is contained in:
Dylan K. Taylor 2018-07-20 11:30:46 +01:00
commit 424e9f4a49

View File

@ -47,7 +47,7 @@ class PlayStatusPacket extends DataPacket{
* @var int
* Used to determine how to write the packet when we disconnect incompatible clients.
*/
public $protocol;
public $protocol = ProtocolInfo::CURRENT_PROTOCOL;
protected function decodePayload() : void{
$this->status = $this->getInt();