Skip to content

Commit

Permalink
Interactive should simply not break other mods
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Oct 16, 2024
1 parent 936840c commit eecea63
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ public boolean isFluidValid(int tank, FluidStack stack) {

@Override
public int fill(FluidStack resource, FluidAction action) {
if (!isConnected() || wrapped == null) return 0;
if (!isConnected())
return 0;
int fill = wrapped.fill(resource, action);
if (fill > 0 && action.execute())
keepAlive();
Expand Down

0 comments on commit eecea63

Please sign in to comment.