ModularUI
4 merged pull requests.
Changes
- #93 FluidInteractionUtil.addFluidNameInfo calls ItemFluidDisplay.addTooltipForFluid and adds each line as Text, replacing the getChemicalFormula call. Bumps the GT5-Unofficial compileOnly dependency to 5.09.52.391. - @iouter
- #91 SlotWidget gets protected getAmountTooltip() and getAmountText(int, String), which the tooltip and render code now call. Subclasses can override them. - @RecursivePineapple
- Added: overridable slot amount text and tooltip methods
Bug Fixes
- #92 In ModularUIContext.readServerPacket, a CLOSE_WINDOW for a window that is not open yet now removes its id from queuedOpenWindow instead of calling tryClose on null. Also bumps NEI, GTNHLib, Hodgepodge, GT5-Unofficial and the settings plugin versions. - @TheYoingLad
- Fixed: Null pointer exception when a window was closed before it had opened, Drone Centre kicked from the world on sort and localise buttons, Electrolyzer GUI null pointer exception
- Closes GTNH#16580, GTNH#19771
Performance
- #94 ModularUIContext no longer holds a strong player reference. It keeps only an EntityPlayerMP (server) and otherwise gets the player via a new CommonProxy/ClientProxy getClientPlayer(). - @Alexdoru
- Fixed: memory leak in ModularUIContext from NEI handlers
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@RecursivePineapple (2), @Alexdoru (1), @boubou19 (1), @FourIsTheNumber (1), @iouter (1), @TheYoingLad (1), @UltraProdigy (1)