diff --git a/src/main/java/gregtech/api/mui/sync/GTFluidSyncHandler.java b/src/main/java/gregtech/api/mui/sync/GTFluidSyncHandler.java index 4e5b55d139a..196a8107200 100644 --- a/src/main/java/gregtech/api/mui/sync/GTFluidSyncHandler.java +++ b/src/main/java/gregtech/api/mui/sync/GTFluidSyncHandler.java @@ -35,7 +35,7 @@ public class GTFluidSyncHandler extends SyncHandler { public static final int LOCK_FLUID = 5; private final IFluidTank tank; - private DynamicValue lockedFluid; + private DynamicValue lockedFluid = new DynamicValue<>(() -> null, null); private FluidStack lastFluid; private FluidStack phantomFluid; private boolean canDrainSlot = true;