diff --git a/src/InventorySlotPacket.php b/src/InventorySlotPacket.php index ab927249..ac09d633 100644 --- a/src/InventorySlotPacket.php +++ b/src/InventorySlotPacket.php @@ -30,7 +30,7 @@ class InventorySlotPacket extends DataPacket implements ClientboundPacket{ /** * @generate-create-func */ - public static function create(int $windowId, int $inventorySlot, ItemStackWrapper $item, FullContainerName $containerName, int $dynamicContainerSize) : self{ + public static function create(int $windowId, int $inventorySlot, FullContainerName $containerName, int $dynamicContainerSize, ItemStackWrapper $item) : self{ $result = new self; $result->windowId = $windowId; $result->inventorySlot = $inventorySlot;