Change Fluid Amount Limit (#1029)

This commit is contained in:
slprime authored and GitHub committed 2026-09-11 08:10:28 +03:00
1 parent af6dba1269
commit 1fc824410b
6 files changed
+33 -45

No files matched your search

@@ -45,7 +45,7 @@ public class DefaultStackStringifyHandler implements IStackStringifyHandler {
final ItemStack stack = ItemStack.loadItemStackFromNBT(nbtTag);
if (stack != null) {
stack.stackSize = nbtTag.getInteger("Count");
stack.stackSize = (int) Math.min(nbtTag.getLong("Count"), Integer.MAX_VALUE);
}
return stack;