diff --git a/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityCreativeTank.java b/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityCreativeTank.java index fd2cb5e24e5..a40d0b54bf2 100644 --- a/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityCreativeTank.java +++ b/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityCreativeTank.java @@ -129,11 +129,7 @@ public void update() { if (fluidHandler == null || fluidHandler.getTankProperties().length == 0) return; - FluidStack stack = fluidTank.getFluid().copy(); - int canInsertAmount = fluidHandler.fill(stack, false); - stack.amount = Math.min(mBPerCycle, canInsertAmount); - - fluidHandler.fill(stack, true); + fluidHandler.fill(fluidTank.drain(mBPerCycle, false), true); } }