Hi!
When you enter a factory building (factorissimo2) with the latest autotrash(4.1.x) loaded, I get this message-window:
The mod Factorissimo2 caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Factorissimo2::on_tick (ID 0)
The mod Auto Trash caused a non-recoverable error.
Please report this error to the mod author.
Error while running event AutoTrash::on_player_changed_position (ID 81)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
AutoTrash/control.lua:331: in function <AutoTrash/control.lua:327>
stack traceback:
[C]: in function 'index'
__AutoTrash/control.lua:331: in function <AutoTrash/control.lua:327>
stack traceback:
Factorissimo2/control.lua:984: in function 'enter_factory'
Factorissimo2/control.lua:1009: in function 'teleport_players'
Factorissimo2/control.lua:1101: in function <Factorissimo2/control.lua:1071>
stack traceback:
[C]: in function 'teleport'
Factorissimo2/control.lua:984: in function 'enter_factory'
Factorissimo2/control.lua:1009: in function 'teleport_players'
Factorissimo2/control.lua:1101: in function <Factorissimo2/control.lua:1071>