diff --git a/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java b/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java index b92a916..99e35c5 100644 --- a/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java +++ b/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java @@ -138,7 +138,7 @@ public class InventoryUtil { public static boolean fits(ItemStack item, Inventory inventory) { int left = item.getAmount(); - if (inventory.getMaxStackSize() == Integer.MAX_VALUE) { + if (inventory.getSize() == Integer.MAX_VALUE) { return true; }