Fix for massive performance issue with epichoppers.

This commit is contained in:
Brianna 2019-07-31 12:57:17 -04:00
parent 077b41fea3
commit 2d79f20ade
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "UltimateStacker"
path: "/builds/$CI_PROJECT_PATH"
version: "1.8.5"
version: "1.8.6"
build:
stage: build

View File

@ -66,7 +66,7 @@ public class Methods {
}
public static int getActualItemAmount(Item item) {
if (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();