NEI crashes Recipe Packager from Buildcraft
DrParadox7 opened this issue · 3 comments
Mods used:
NotEnoughItems-1.7.10-2.3.9-GTNH.jar
CodeChickenCore-1.7.10-1.1.6.jar
buildcraft-7.1.24.jar
What happens:
Hovering over Packages made by BC's Recipe Packager crashes the game:
Description: Rendering screen
java.lang.NumberFormatException: For input string: "r"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at buildcraft.silicon.render.PackageFontRenderer.func_85187_a(PackageFontRenderer.java:40)
at net.minecraft.client.gui.FontRenderer.func_78261_a(FontRenderer.java:253)
at codechicken.lib.gui.GuiDraw.drawMultilineTip(GuiDraw.java:200)
at codechicken.nei.guihook.GuiContainerManager.renderToolTips(GuiContainerManager.java:500)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:166)
at buildcraft.core.lib.gui.GuiBuildCraft.func_73863_a(GuiBuildCraft.java:75)
Full Crash Report:
https://pastebin.com/Tm1Qvq4m
I made Buildcraft print out the string causing problems in PackageFontRenderer.java:40:
Before:
[14:43:23] [Client thread/INFO] [STDOUT]: [buildcraft.silicon.render.PackageFontRenderer:drawString:39]: string: �7SPECIAL:0
After:
[Client thread/INFO] [STDOUT/]: [buildcraft.silicon.render.PackageFontRenderer:drawString:39]: string: �7SPECIAL:0�r
For some reason NEI adds Chat Formatting Codes to where it shouldn't since 2.2.19-GTNH-pre.