mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Added creative-inventory magic slot numbers and renamed some constants
This commit is contained in:
@@ -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 = [];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user