Skip to content

Commit

Permalink
fucking copilot
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Feb 16, 2024
1 parent 14a06a0 commit bd21347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serializer/PacketSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

}

Expand Down

0 comments on commit bd21347

Please sign in to comment.