Iron Tanks

Iron Tanks

663k Downloads

Waila reports the wrong capacity when mixing tank types

Indemnity83 opened this issue ยท 5 comments

commented

If you have a tank stack with two dissimilar tank types (only tested with a normal Buildcraft tank and one of the tanks added by irontank) Waila will report the correct volume currently being stored, but reports the total storage capacity wrong (simply as 16 buckets * the number of tanks in the stack).

commented

For future reference: WAILA tank capacity is calculated in HUDHandlerBCTanks.java in the buildcraft addon section

commented

Looks like this is being caused by a logic error in the BuildCraft TankTile class where it adds the capacity of the current tank when it meant to add the capacity of the bottom tank.

Unfortunately, I don't see any elegant way to work around this problem so we're waiting on BuildCraft/BuildCraft#3046 to be merged to close this out.

commented

This has been addressed in BuildCraft/BuildCraft@9729576

commented

I'm leaving this issue open until the patch is released just in case anybody comes in looking to report the bug before its released upstream.

commented

Pushed in BC 7.1.6.