Skip to content

Commit

Permalink
Fix fluid pipes determining their input source incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
BluSunrize committed Mar 2, 2024
1 parent 3460942 commit 68ae225
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public int fill(FluidStack resource, FluidAction doFill)
if(outputList.isEmpty())
//NO OUTPUTS!
return 0;
BlockPos ccFrom = new BlockPos(pipe.getBlockPos().relative(facing.getOpposite()));
BlockPos ccFrom = new BlockPos(pipe.getBlockPos().relative(facing));
int sum = 0;
HashMap<DirectionalFluidOutput, Integer> sorting = new HashMap<>();
for(DirectionalFluidOutput output : outputList)
Expand Down

0 comments on commit 68ae225

Please sign in to comment.