From d22ab815e3006835ec55ffe75184be9d926b2547 Mon Sep 17 00:00:00 2001 From: Kevin <115616336+lag@users.noreply.github.com> Date: Thu, 5 Mar 2026 21:20:40 -0600 Subject: Initial fixes for ContainerSetSlotPacket and CraftItemPacket (#649) --- Minecraft.World/Inventory.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Minecraft.World/Inventory.h') diff --git a/Minecraft.World/Inventory.h b/Minecraft.World/Inventory.h index db5f42d6..539b9f49 100644 --- a/Minecraft.World/Inventory.h +++ b/Minecraft.World/Inventory.h @@ -68,6 +68,7 @@ public: shared_ptr getResourceItem(int type,int iAuxVal); bool hasResource(int type); + int countResource(int type, int auxVal); void swapSlots(int from, int to); bool add(shared_ptr item); shared_ptr removeItem(unsigned int slot, int count); -- cgit v1.2.3