Closed LemADEC closed 5 years ago
Dammit... some mod still has null ItemStacks since 1.11? nice... :D
I wish the crash log would tell me which mod so I can report it to the author
Yeah I need to add a try-catch in one of the methods to see that (or check for null and change the return value etc. which I don't like for this use case).
This should now print out some other bits of the tab data as a warning to the console, in case it has null values: https://masa.dy.fi/tmp/minecraft/mods/tellme/tellme-1.12.2-0.7.0-dev.20181219.232652.jar
Whoops I made a copy paste derp in one of the console messages, fixed version: https://masa.dy.fi/tmp/minecraft/mods/tellme/tellme-1.12.2-0.7.0-dev.20181219.233102.jar
Thanks for the quick fix! CreativeTabs are no longer reporting error and console logs are clean. So I guess, TellMe tolerates the null entries now?
Hmm, it's supposed to print out a one line warning if some of the values for a tab are null, which should be the case in the original crash... But yes it shouldn't crash anymore in the CreativeTabs dump (unless I missed something still).
I see the log added:
[23:30:01] [Server thread/WARN] [tellme]: null icon item for tab at index 60 (name: 'tab_matc', translation key: 'itemGroup.tab_matc')
[23:30:01] [Client thread/INFO] [net.minecraft.client.gui.GuiNewChat]: [CHAT] Output written to file creativetabs-csv_2018-12-20_23.30.01.csv
matc being most probably Mystical Agriculture Tiered Crystals, issue reported to the related github.
As of tellme-1.12.2-0.7.0-dev.20181108.025215, there's an exception thrown when dumping creative tabs: