Skip to content

Commit

Permalink
Fixed fluid emitter when there is no filter in it (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
claimg authored Mar 22, 2024
1 parent a231e67 commit 300f01b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ private void configureWatchers() {
if (this.myWatcher != null && myStack != null) {
this.myWatcher.add(myStack);
}

if (myStack == null) {
this.getProxy().getStorage().getFluidInventory().addListener(this, this.getProxy().getGrid());
}

this.updateReportingValue(this.getProxy().getStorage().getFluidInventory());
} catch (final GridAccessException ignored) {}
}
Expand Down

0 comments on commit 300f01b

Please sign in to comment.