mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-08 03:21:32 +01:00
Hopper thing
This commit is contained in:
parent
7891479a78
commit
048eb55d97
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user