Skip to content

Commit

Permalink
Fix fluids not being placed if a flowing fluid of the same type is pr…
Browse files Browse the repository at this point in the history
…esent at the toPlace location

- Fixes Creators-of-Create#5884
  • Loading branch information
IThundxr committed Oct 23, 2024
1 parent 51bb416 commit bd9e4d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bd9e4d7

Please sign in to comment.