Skip to content

Commit

Permalink
Fix fluid storage bus that undergoes a full reset returns amount 0 (#222
Browse files Browse the repository at this point in the history
)

Co-authored-by: hiroscho <hiroscho.games@gmail.com>
  • Loading branch information
hiroscho and hiroscho authored Aug 18, 2024
1 parent 1317473 commit e09525b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ protected void resetCache() {
}

final MEInventoryHandler<IAEFluidStack> out = this.getInternalHandler();
if (this.monitor != null) {
this.monitor.onTick();
}

IItemList<IAEFluidStack> after = AEApi.instance().storage().createFluidList();

if (in != out) {
Expand Down

0 comments on commit e09525b

Please sign in to comment.