The mod :
https://mods.factorio.com/mod/PickerBeltTools
Trigger :
Build underground belt using Picker Belt Tools, didn't matter if TMG being toggled off, it still give error.
To reproduce :
Toggle TMG On / Off, didn't matter
Pick underground belt with cursor
Press (keypad +) to add more belt lane
Press Ctrl+Shift+R to auto expand belt to max distance
Place the ghost
Error log :
Error while running event there-is-my-ghost::on_built_entity (ID 6)
there-is-my-ghost/functions.lua:119: attempt to index local 'stack' (a nil value)
stack traceback:
there-is-my-ghost/functions.lua:119: in function 'is_item_usable'
there-is-my-ghost/events.lua:55: in function <there-is-my-ghost/events.lua:49>
stack traceback:
PickerBeltTools/scripts/beltbrush.lua:72: in function <PickerBeltTools/scripts/beltbrush.lua:61>
[C]: in function 'pcall'
stdlib/stdlib/event/event.lua:302: in function 'dispatch_event'
stdlib/stdlib/event/event.lua:372: in function <stdlib/stdlib/event/event.lua:336>
89.582 Script @stdlib/stdlib/core.lua:50: The mod There is my ghost caused a non-recoverable error.
Please report this error to the mod author.