mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 15:05:33 +00:00
Added creative-inventory magic slot numbers and renamed some constants
This commit is contained in:
parent
74ee94b385
commit
c1ff7bbef4
@ -81,8 +81,11 @@ class InventoryTransactionPacket extends DataPacket{
|
|||||||
const SOURCE_TYPE_CONTAINER_DROP_CONTENTS = -100;
|
const SOURCE_TYPE_CONTAINER_DROP_CONTENTS = -100;
|
||||||
|
|
||||||
|
|
||||||
const SOURCE_MAGIC_SLOT_DROP_ITEM = 0;
|
const ACTION_MAGIC_SLOT_DROP_ITEM = 0;
|
||||||
const SOURCE_MAGIC_SLOT_PICKUP_ITEM = 1;
|
const ACTION_MAGIC_SLOT_PICKUP_ITEM = 1;
|
||||||
|
|
||||||
|
const ACTION_MAGIC_SLOT_CREATIVE_DELETE_ITEM = 0;
|
||||||
|
const ACTION_MAGIC_SLOT_CREATIVE_CREATE_ITEM = 1;
|
||||||
|
|
||||||
public $actions = [];
|
public $actions = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user