Shurgent / TFCTech

TFCTech - Addon for TerraFirmaCraft. Custom integration and additional items for TFC + Tech-mods fusion. Base for the TFCTech Modpack (in future).
GNU General Public License v3.0
11 stars 18 forks source link

Induction Smelter GUI updates #9

Closed StrayWolfe closed 8 years ago

StrayWolfe commented 8 years ago

Looks like the GUI for the induction smelter is not updating the currentAlloy info from the TEInductionSmelter during the first opening of the GUI. Reopening the GUI resolves this issue. To replicate, get a fresh induction smelter, place it and open the GUI. Place one ingot in at a time without closing the GUI and you will see that is does not update. You should be able to fix this by including the currentAlloy in the detectAndSendChanges method of the ContainerInductionSmelter. It also looks like updateGui method of the TEInductionSmelter would be redundant with the detectAndSendChanges method.

Shurgent commented 8 years ago

Fixed.