Fix fluids not being placed into flowing fluids of the same type (#7054)

This commit is contained in:
IThundxr 2025-01-10 12:07:44 -05:00 committed by GitHub
parent 4afbc7e455
commit c765b00c77
Failed to generate hash of commit

View file

@ -192,7 +192,7 @@ public class OpenEndedPipe extends FlowSource {
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;
}