diff --git a/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php b/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php index c67601e2f..e0456654d 100644 --- a/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php @@ -57,19 +57,22 @@ class AvailableCommandsPacket extends DataPacket implements ClientboundPacket{ public const ARG_TYPE_FLOAT = 0x02; public const ARG_TYPE_VALUE = 0x03; public const ARG_TYPE_WILDCARD_INT = 0x04; - public const ARG_TYPE_TARGET = 0x05; - public const ARG_TYPE_WILDCARD_TARGET = 0x06; + public const ARG_TYPE_OPERATOR = 0x05; + public const ARG_TYPE_TARGET = 0x06; - public const ARG_TYPE_STRING = 0x0f; - public const ARG_TYPE_POSITION = 0x10; + public const ARG_TYPE_FILEPATH = 0x0f; - public const ARG_TYPE_MESSAGE = 0x13; + public const ARG_TYPE_STRING = 0x1c; - public const ARG_TYPE_RAWTEXT = 0x15; + public const ARG_TYPE_POSITION = 0x1e; - public const ARG_TYPE_JSON = 0x18; + public const ARG_TYPE_MESSAGE = 0x21; - public const ARG_TYPE_COMMAND = 0x1f; + public const ARG_TYPE_RAWTEXT = 0x23; + + public const ARG_TYPE_JSON = 0x26; + + public const ARG_TYPE_COMMAND = 0x2d; /** * Enums are a little different: they are composed as follows: