mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 13:35:29 +00:00
Merge branch 'master' of https://github.com/pmmp/pocketmine-mp
This commit is contained in:
commit
2a4d936fd4
@ -183,7 +183,7 @@ class TypeConverter{
|
||||
case NetworkInventoryAction::ACTION_MAGIC_SLOT_CREATIVE_DELETE_ITEM:
|
||||
return new DestroyItemAction($new);
|
||||
case NetworkInventoryAction::ACTION_MAGIC_SLOT_CREATIVE_CREATE_ITEM:
|
||||
return new CreateItemAction($new);
|
||||
return new CreateItemAction($old);
|
||||
default:
|
||||
throw new \UnexpectedValueException("Unexpected creative action type $action->inventorySlot");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user