模组 Production Analyst (1.1.4) 引发了无法恢复的错误。
请向模组作者报告此错误。
Error while running event production-analyst::on_gui_click (ID 1)
production-analyst/scripts/gui.lua:424: attempt to index local 'task' (a nil value)
stack traceback:
production-analyst/scripts/gui.lua:424: in function <production-analyst/scripts/gui.lua:383>
I don't know why, I didn't even open this mod, but suddenly popped up in the middle of the game, hoping to fix this bug.
In addition, when I used mod:Factory Inspector, I also encountered almost identical problems. The appendix is as follows. I hope these are helpful.
Error while running event factory-inspector::on_tick (ID 0)
factory-inspector/script/input-output-calculator.lua:68: attempt to index local 'recipe' (a nil value)
stack traceback:
factory-inspector/script/input-output-calculator.lua:68: in function 'enrolConsumedFluidFuel'
factory-inspector/script/entity-tracker.lua:55: in function 'updateConsumersAndProducers'
factory-inspector/script/entity-tracker.lua:94: in function 'checkExistingEntityForChanges'
factory-inspector/script/entity-tracker.lua:131: in function 'checkEntityBatchForRecipeChanges'
factory-inspector/script/event-handlers.lua:40: in function <factory-inspector/script/event-handlers.lua:15>