mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-01-03 22:37:41 +01:00
Fix for massive performance issue with epichoppers.
This commit is contained in:
parent
077b41fea3
commit
2d79f20ade
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "UltimateStacker"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "1.8.5"
|
||||
version: "1.8.6"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user