From 048eb55d97f6ff505092d5ae0b429b1dabe54272 Mon Sep 17 00:00:00 2001 From: Brianna Date: Wed, 31 Jul 2019 15:50:01 -0400 Subject: [PATCH] Hopper thing --- src/main/java/com/songoda/ultimatestacker/utils/Methods.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/ultimatestacker/utils/Methods.java b/src/main/java/com/songoda/ultimatestacker/utils/Methods.java index baa767b..f5b0312 100644 --- a/src/main/java/com/songoda/ultimatestacker/utils/Methods.java +++ b/src/main/java/com/songoda/ultimatestacker/utils/Methods.java @@ -66,7 +66,7 @@ public class Methods { } public static int getActualItemAmount(Item item) { - if (item.getItemStack().getAmount() > 32 && item.hasMetadata("US_AMT")) { + if (item.getItemStack().getAmount() >= 32 && item.hasMetadata("US_AMT")) { return item.getMetadata("US_AMT").get(0).asInt(); } else { return item.getItemStack().getAmount();