ScriptCustomItem:

-Increased max stack size to 127.
This commit is contained in:
Luis C.M committed 2022-07-02 03:14:06 -05:00
1 parent f3f209820c
commit 4b7d8e744e
1 file changed
+2 -2
@@ -196,11 +196,11 @@ public class ScriptCustomItem extends ScriptItemStack implements IItemCustom, IS
}
public void setMaxStackSize(int size) {
if (size >= 1 && size <= 64) {
if (size >= 1 && size <= 127) {
this.stackSize = size;
saveItemData();
} else {
throw new CustomNPCsException("Stacksize has to be between 1 and 64", new Object[0]);
throw new CustomNPCsException("Stacksize has to be between 1 and 127", new Object[0]);
}
}