Skip to content

Commit

Permalink
fix #38 missing fluid container update on filling from empty
Browse files Browse the repository at this point in the history
  • Loading branch information
CD4017BE committed Oct 2, 2019
1 parent a06cf72 commit 01a2bd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/java/cd4017be/lib/capability/AdvancedTank.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public int fill(FluidStack res, boolean doFill) {
int m = Math.min(res.amount, cap);
if (doFill) {
fluid = new FluidStack(res, m);
if (output && m >= need) fillContainer();
tile.markDirty();
}
return m;
Expand Down

0 comments on commit 01a2bd6

Please sign in to comment.