update_equipment: API call on invalid LuaEntity
Closed this issue · 2 comments
793.182 Error MainLoop.cpp:1128: Exception at tick 39772: The mod Wireless Charging Lib caused a non-recoverable error.
Please report this error to the mod author.
Error while running event wireless-charging-lib_v17::on_player_placed_equipment (ID 38)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
wireless-charging-lib_v17/src/main.lua:218: in function 'update_equipment'
wireless-charging-lib_v17/src/main.lua:555: in function <wireless-charging-lib_v17/src/main.lua:552>
stack traceback:
[C]: in function '__index'
wireless-charging-lib_v17/src/main.lua:218: in function 'update_equipment'
wireless-charging-lib_v17/src/main.lua:555: in function <wireless-charging-lib_v17/src/main.lua:552
793.182 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Wireless Charging Lib caused a non-recoverable error.
Please report this error to the mod author.
Error while running event wireless-charging-lib_v17::on_player_placed_equipment (ID 38)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
wireless-charging-lib_v17/src/main.lua:218: in function 'update_equipment'
wireless-charging-lib_v17/src/main.lua:555: in function <wireless-charging-lib_v17/src/main.lua:552>
stack traceback:
[C]: in function '__index'
wireless-charging-lib_v17/src/main.lua:218: in function 'update_equipment'
wireless-charging-lib_v17/src/main.lua:555: in function <wireless-charging-lib_v17/src/main.lua:552>
Issue is for the "lib" mod.
Steps taken in Multiplayer that caused this issue:
- place an electric train (from Electric Vehicles Reborn)
- deconstruct electric train
- place train again
- place charge equipment in the train's grid
Fixed in 0.17.5 / lib 0.17.4