I was playing with whistle stop factories and warptorio, I relocated a factory with loaders to my platform and it hung over the edge. When warping to the next planet, the loaders were destroyed and when I tried to rotate/deconstruct the building, the following error message occured
The mod Whistle Stop Factories (0.3.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event WhistleStopFactories::on_player_mined_entity (ID 66)
WhistleStopFactories/scripts/controlSpawnEvent.lua:95: attempt to index field '?' (a nil value)
stack traceback:
WhistleStopFactories/scripts/controlSpawnEvent.lua:95: in function 'destroyLoaders'
WhistleStopFactories/scripts/controlSpawnEvent.lua:154: in function 'on_destroy_event'
WhistleStopFactories/scripts/controlSpawnEvent.lua:168: in function <WhistleStopFactories/scripts/controlSpawnEvent.lua:166>
possible solution might involve on_entity_cloned being included to the built event list of watchers?