[1.12.2]Crash - Updating Screen Events
KAfable opened this issue ยท 9 comments
Crash Log: https://hastebin.com/iyivazanej.sql
Description: I'm not sure if all of these are related but I added Thermal Foundation Hammers to ore:tooLHammer oredictionary (which also includes the blacksmith_hammers). When I went to shift+click a thermal foundation platinum hammer into the Worktable, it seemed to have crashed. I can post the script if you want.
Not only TE hammers, it's exactly the same thing as it was before with me.
Check issue #41
Here's new crashlog:
https://gist.github.com/Warrock3280/d03ee41f4364150f6a315d53fec7c168
Thanks for the reports. I'm looking into it.
This new issue has nothing to do with issue #41.
I'll bet this issue has something to do with the latest CraftTweaker update from 4.1.1 to 4.1.2.
I've seen other pack makers have issues with the new CT update.
Try stepping down to CT 4.1.1 and see if the issue persists. I'm looking into it on my end.
I was right.
Here is the CT commit that changes the line that is now crashing: jaredlll08/CraftTweaker@a6396b6#diff-4e4c4842206dc45ace9cc24cbb4d3c88
I'll see what I can do about it.
@Vyraal1 Please post your script (just the relevant bits if you can). I'm unable to reproduce this, yet.
Here's the relevant parts of the script - https://hastebin.com/upatexugax.xml
Here's also the global variables for plates - https://hastebin.com/nanizudapo.py
Finally, there it is!
Worktable.createRecipeBuilder("carpenter")
.setShaped([
[<ore:plankWood>],
[<ore:plankWood>],
[<ore:plankWood>]])
.setTool(<ore:carpenters_hammer>, 30)
.addOutput(<minecraft:gravel>)
.create();
Caused by: java.lang.NullPointerException
at crafttweaker.api.minecraft.CraftTweakerMC.matches(CraftTweakerMC.java:525) ~[CraftTweakerMC.class:?]
at crafttweaker.api.minecraft.CraftTweakerMC.matches(CraftTweakerMC.java:533) ~[CraftTweakerMC.class:?]
at crafttweaker.mc1120.oredict.MCOreDictEntry.contains(MCOreDictEntry.java:110) ~[MCOreDictEntry.class:?]
at crafttweaker.mc1120.oredict.MCOreDictEntry.matches(MCOreDictEntry.java:180) ~[MCOreDictEntry.class:?]
at com.codetaylor.mc.athenaeum.integration.crafttweaker.mtlib.helpers.CTInputHelper$IngredientWrapper.apply(CTInputHelper.java:379) ~[CTInputHelper$IngredientWrapper.class:?]
[...]
I know where the problem is and how to fix it. Shouldn't be long now.
https://minecraft.curseforge.com/projects/athenaeum/files/2527729
If you continue to experience this issue after updating the library, please contact me.