diff --git a/src/main/java/net/minecraftforge/fluids/BlockFluidFinite.java b/src/main/java/net/minecraftforge/fluids/BlockFluidFinite.java index 83c2f1a57..05f767fbb 100644 --- a/src/main/java/net/minecraftforge/fluids/BlockFluidFinite.java +++ b/src/main/java/net/minecraftforge/fluids/BlockFluidFinite.java @@ -228,13 +228,15 @@ public class BlockFluidFinite extends BlockFluidBase @Override public FluidStack drain(World world, BlockPos pos, boolean doDrain) { + final FluidStack fluidStack = new FluidStack(getFluid(), + MathHelper.floor_float(getQuantaPercentage(world, pos) * FluidContainerRegistry.BUCKET_VOLUME)); + if (doDrain) { world.setBlockToAir(pos); } - return new FluidStack(getFluid(), - MathHelper.floor_float(getQuantaPercentage(world, pos) * FluidContainerRegistry.BUCKET_VOLUME)); + return fluidStack; } @Override