MagiTechNetwork / MagiHandlers

An ASM mod powered by Mixin!
GNU Affero General Public License v3.0
7 stars 4 forks source link

Witchery tem alguma recipe quebrada #148

Open Eufranio opened 6 years ago

Eufranio commented 6 years ago

Quando um crafter do AE2 tenta criar um Fire Protection Poppet (aparentemente), ele crasha com isso:

java.lang.NullPointerException: Ticking GridNode
    at thaumcraft.common.lib.events.EventHandlerWorld.onCrafting(EventHandlerWorld.java:149)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_46_EventHandlerWorld_onCrafting_ItemCraftedEvent.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
    at cpw.mods.fml.common.FMLCommonHandler.firePlayerCraftingEvent(FMLCommonHandler.java:597)
    at appeng.crafting.CraftingTreeProcess.<init>(CraftingTreeProcess.java:80)
    at appeng.crafting.CraftingTreeNode.<init>(CraftingTreeNode.java:85)
    at appeng.crafting.CraftingTreeProcess.<init>(CraftingTreeProcess.java:169)
    at appeng.crafting.CraftingTreeNode.<init>(CraftingTreeNode.java:85)
    at appeng.crafting.CraftingTreeProcess.<init>(CraftingTreeProcess.java:169)
    at appeng.crafting.CraftingTreeNode.<init>(CraftingTreeNode.java:85)
    at appeng.crafting.CraftingTreeProcess.<init>(CraftingTreeProcess.java:169)
    at appeng.crafting.CraftingTreeNode.<init>(CraftingTreeNode.java:85)
    at appeng.crafting.CraftingJob.getCraftingTree(CraftingJob.java:98)
    at appeng.crafting.CraftingJob.<init>(CraftingJob.java:92)
    at appeng.me.cache.CraftingGridCache.beginCraftingJob(CraftingGridCache.java:507)
    at appeng.helpers.MultiCraftingTracker.handleCrafting(MultiCraftingTracker.java:134)
    at appeng.parts.automation.PartExportBus.doBusWork(PartExportBus.java:163)
    at appeng.parts.automation.PartExportBus.tickingRequest(PartExportBus.java:269)
    at appeng.me.cache.TickManagerCache.onUpdateTick(TickManagerCache.java:92)
    at appeng.me.GridCacheWrapper.onUpdateTick(GridCacheWrapper.java:43)
    at appeng.me.Grid.update(Grid.java:280)
    at appeng.hooks.TickHandler.onTick(TickHandler.java:239)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_452_TickHandler_onTick_TickEvent.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
    at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:252)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:894)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693)
    at java.lang.Thread.run(Thread.java:748)

por que a saída da recipe é null (aqui: CraftingTreeProcess.<init>(CraftingTreeProcess.java:80)), e passa essa saída para o ItemCraftedEvent, que passa para os outros mods que não esperavam um item nulo e etc...