diff --git a/src/serializer/PacketSerializer.php b/src/serializer/PacketSerializer.php index 954f6cbb..9ba650e1 100644 --- a/src/serializer/PacketSerializer.php +++ b/src/serializer/PacketSerializer.php @@ -369,7 +369,7 @@ private function putItemStackFooter(ItemStack $itemStack) : void{ public function getItemStackWithoutStackId() : ItemStack{ [$id, $count, $meta] = $this->getItemStackHeader(); - return $id !== 0 ? $this->getItemStackFooter($id, $count, $meta) : ItemStack::null(); + return $id !== 0 ? $this->getItemStackFooter($id, $meta, $count) : ItemStack::null(); }