From 6c3106c0010779cc74743201cb91bf103283b673 Mon Sep 17 00:00:00 2001 From: StaffiX <32968022+StaffiX@users.noreply.github.com> Date: Mon, 31 Mar 2025 19:28:39 +0200 Subject: [PATCH] Change creative water cell capacity to 2^52-1 --- .../github/common/storage/CreativeFluidCellInventory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/glodblock/github/common/storage/CreativeFluidCellInventory.java b/src/main/java/com/glodblock/github/common/storage/CreativeFluidCellInventory.java index f01c1446..d9987ef5 100644 --- a/src/main/java/com/glodblock/github/common/storage/CreativeFluidCellInventory.java +++ b/src/main/java/com/glodblock/github/common/storage/CreativeFluidCellInventory.java @@ -60,7 +60,7 @@ public class CreativeFluidCellInventory extends FluidCellInventory { if (fs == null) continue; IAEFluidStack iaeFluidStack = Util.FluidUtil.createAEFluidStack(fs); if (this.cellFluids.findPrecise(iaeFluidStack) == null) { - iaeFluidStack.setStackSize(Integer.MAX_VALUE * 1_000_000L); + iaeFluidStack.setStackSize((long) (Math.pow(2, 52) - 1)); this.cellFluids.add(iaeFluidStack); } }