Hopper thing

This commit is contained in:
Brianna 2019-07-31 15:50:01 -04:00
parent 7891479a78
commit 048eb55d97

View File

@ -66,7 +66,7 @@ public class Methods {
} }
public static int getActualItemAmount(Item item) { 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(); return item.getMetadata("US_AMT").get(0).asInt();
} else { } else {
return item.getItemStack().getAmount(); return item.getItemStack().getAmount();