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

@@ -59,7 +59,7 @@ public class StackInfo {
if (nbtTag != null) {
nbtTag = (NBTTagCompound) nbtTag.copy();
nbtTag.setInteger("Count", (int) Math.max(Math.min(customCount, Integer.MAX_VALUE), 0));
nbtTag.setLong("Count", Math.max(customCount, 0));
return loadFromNBT(nbtTag);
}