From bd9e4d7419b6dc5412189db14a7463a5bb732144 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Fri, 11 Oct 2024 10:42:12 -0400 Subject: [PATCH] Fix fluids not being placed if a flowing fluid of the same type is present at the toPlace location - Fixes #5884 --- .../java/com/simibubi/create/content/fluids/OpenEndedPipe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/fluids/OpenEndedPipe.java b/src/main/java/com/simibubi/create/content/fluids/OpenEndedPipe.java index 75822e28fd..f4b633d10a 100644 --- a/src/main/java/com/simibubi/create/content/fluids/OpenEndedPipe.java +++ b/src/main/java/com/simibubi/create/content/fluids/OpenEndedPipe.java @@ -192,7 +192,7 @@ private boolean provideFluidToSpace(FluidStack fluid, boolean simulate) { if (!FluidHelper.hasBlockState(fluid.getFluid())) return true; - if (!fluidState.isEmpty() && fluidState.getType() != fluid.getFluid()) { + if (!fluidState.isEmpty() && FluidHelper.convertToStill(fluidState.getType()) != fluid.getFluid()) { FluidReactions.handlePipeSpillCollision(world, outputPos, fluid.getFluid(), fluidState); return false; }