Steps to reproduce:
1: Have autobuild and research queue the old new thing installed
2: Try to deconstruct lab while researching
3: Notice
The mod Autobuild caused a non-recoverable error.
Please report this error to the mod author.
Error while running event autobuild::on_nth_tick(10)
The mod Research Queue: The Old New Thing caused a non-recoverable error.
Please report this error to the mod author.
Error while running event research-queue-the-old-new-thing::on_pre_player_mined_item (ID 11)
research-queue-the-old-new-thing/control.lua:270: attempt to index field 'created_entity' (a nil value)
stack traceback:
research-queue-the-old-new-thing/control.lua:270: in function <research-queue-the-old-new-thing/control.lua:267>
stack traceback:
autobuild/control.lua:241: in function <autobuild/control.lua:236>
(...tail calls...)
autobuild/control.lua:269: in function 'player_autobuild'
autobuild/control.lua:301: in function 'handle_player_update'
autobuild/control.lua:306: in function <autobuild/control.lua:304>
stack traceback:
[C]: in function 'mine_entity'
autobuild/control.lua:241: in function <autobuild/control.lua:236>
(...tail calls...)
autobuild/control.lua:269: in function 'player_autobuild'
autobuild/control.lua:301: in function 'handle_player_update'
autobuild/control.lua:306: in function <autobuild/control.lua:304>