AvailableCommandsPacket: fix nonsensical placement of HARDCODED_ENUMS

This commit is contained in:
Dylan K. Taylor 2019-12-02 12:57:05 +00:00
parent abf8081ebc
commit f37ea6a203

View File

@ -75,15 +75,15 @@ class AvailableCommandsPacket extends DataPacket{
*/
public const ARG_FLAG_ENUM = 0x200000;
public const HARDCODED_ENUM_NAMES = [
"CommandName" => true
];
/**
* This is used for /xp <level: int>L. It can only be applied to integer parameters.
*/
public const ARG_FLAG_POSTFIX = 0x1000000;
public const HARDCODED_ENUM_NAMES = [
"CommandName" => true
];
/**
* @var CommandData[]
* List of command data, including name, description, alias indexes and parameters.