Skip to content

Commit

Permalink
InventorySlotPacket::create() fix parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
AkmalFairuz committed Sep 20, 2024
1 parent deba044 commit c38c1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InventorySlotPacket.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c38c1a0

Please sign in to comment.