NPE in Patchouli Book when removing recipes
Terpo opened this issue ยท 0 comments
Describe the bug
https://gist.github.com/Terpo/74f7486b4812c76d1ca138ca4a02f747
I am replacing some of the Stone Age recipes back to vanilla items in my modpack in order to allow some compatibility with other mods.
Example:
recipetype:stone_age:flint_workbench.removeByName("stone_age:stone_pickaxe");
recipetype:stone_age:flint_workbench.addRecipe("nameless_stone_age_stone_pickaxe", item:minecraft:stone_pickaxe, [[item:stone_age:stone_pickaxe_head,item:stone_age:leather_strip,air],[air,sticks,air],[air,sticks,air]], item:minecraft:flint);
To Reproduce
Use crafttweaker to remove flint crafting table recipes and try to look up the pages in the pachouli book
Expected behavior
No crash, maybe an empty page
Version (please complete the following information):
- Mod version 1.2.5
- Minecraft version 1.16.4