Skip to content

Commit

Permalink
Fix Smelteries not updating their current capacity sometimes. Should …
Browse files Browse the repository at this point in the history
…fix capacity problems.
  • Loading branch information
bonii-xx committed Sep 12, 2014
1 parent eff9bbe commit fc0d73d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java
Expand Up @@ -179,6 +179,11 @@ void adjustLayers (int lay, boolean forceAdjust)
}
}
}

// update current liquid. This is done in case some config or something changed the capacity or other things.
currentLiquid = 0;
for(FluidStack liquid : moltenMetal)
currentLiquid += liquid.amount;
}

/* Misc */
Expand Down

0 comments on commit fc0d73d

Please sign in to comment.