Skip to content

Commit

Permalink
fix output fluid slots accepting manual input (#1780)
Browse files Browse the repository at this point in the history
  • Loading branch information
screret authored Aug 20, 2024
1 parent 3638a81 commit 8b60654
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public void applyWidgetInfo(@NotNull Widget widget,
tank.setFluidTank(new OverlayingFluidStorage(fluidTransfer, index));
}
tank.setIngredientIO(io == IO.IN ? IngredientIO.INPUT : IngredientIO.OUTPUT);
tank.setAllowClickFilled(!isXEI);
tank.setAllowClickFilled(!isXEI && io.support(IO.IN));
tank.setAllowClickDrained(!isXEI);
if (content != null) {
tank.setXEIChance((float) content.chance / content.maxChance);
Expand Down

0 comments on commit 8b60654

Please sign in to comment.