mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 00:39:45 +00:00
AvailableCommandsPacket: fix nonsensical placement of HARDCODED_ENUMS
This commit is contained in:
parent
abf8081ebc
commit
f37ea6a203
@ -75,15 +75,15 @@ class AvailableCommandsPacket extends DataPacket{
|
|||||||
*/
|
*/
|
||||||
public const ARG_FLAG_ENUM = 0x200000;
|
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.
|
* This is used for /xp <level: int>L. It can only be applied to integer parameters.
|
||||||
*/
|
*/
|
||||||
public const ARG_FLAG_POSTFIX = 0x1000000;
|
public const ARG_FLAG_POSTFIX = 0x1000000;
|
||||||
|
|
||||||
|
public const HARDCODED_ENUM_NAMES = [
|
||||||
|
"CommandName" => true
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var CommandData[]
|
* @var CommandData[]
|
||||||
* List of command data, including name, description, alias indexes and parameters.
|
* List of command data, including name, description, alias indexes and parameters.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user