Error while running event UndergroundIndicatorsFixed::on_player_cursor_stack_changed (ID 33)
LuaItemStack API call when LuaItemStack was invalid for read.
stack traceback:
[C]: in function '__index'
__UndergroundIndicatorsFixed__/control.lua:41: in function 'render_for_player'
__UndergroundIndicatorsFixed__/control.lua:202: in function <__UndergroundIndicatorsFixed__/control.lua:200>
Same issue here when picking up an upgrade planner from my hotbar. It doesn't happen if I still have the planner in my inventory, but if the blueprint is in my library, I get the crash.