I keep getting the same error when merging by right clicking and left clicking the mouse.
Error while running event smartchest::on_pre_entity_settings_pasted (ID 38)
smartchest/scripts/chest.lua:266: attempt to index local 'item_inv' (a nil value)
stack traceback:
smartchest/scripts/chest.lua:266: in function 'process_merge'
smartchest/scripts/chest.lua:985: in function <smartchest/scripts/chest.lua:974>