mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-12 00:07:29 +00:00
Fixed fluid emitter when there is no filter in it (#199)
This commit is contained in:
1 parent
a231e67167
commit
300f01be8b
1 file changed
+5
@@ -190,6 +190,11 @@ public class PartFluidLevelEmitter extends PartUpgradeable implements IStackWatc
|
||||
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) {}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user