Error while running event reverse-factory::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
reverse-factory/control.lua:7: in function 'checkinvs'
reverse-factory/control.lua:73: in function <reverse-factory/control.lua:69>
stack traceback:
[C]: in function 'index'
__reverse-factory/control.lua:7: in function 'checkinvs'
reverse-factory/control.lua:73: in function <reverse-factory/control.lua:69>