diff --git a/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java b/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java index 1d0a626..f634010 100644 --- a/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java +++ b/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java @@ -137,6 +137,10 @@ public class InventoryUtil { return 0; } + if (maxStackSize == item.getMaxStackSize()) { + return add(item, inventory); + } + int amountLeft = item.getAmount(); for (int currentSlot = 0; currentSlot < effectiveSize(inventory) && amountLeft > 0; currentSlot++) {