I encountered a crash when I had remote view open while in god mode. After clicking the button to exit god mode, the game immediately crashed with the following error message:
Hope this helps with identifying the issue—thanks!
Error while running event creative-mod::on_gui_click (ID 1)
__creative-mod__/scripts/util.lua:127: attempt to get length of local 'source_inventory' (a nil value)
stack traceback:
__creative-mod__/scripts/util.lua:127: in function 'transfer_inventory_contents'
__creative-mod__/scripts/cheats.lua:867: in function 'apply_to_target_function'
__creative-mod__/scripts/cheats.lua:2271: in function 'apply_cheat_to_targets'
__creative-mod__/scripts/gui-menu-cheats.lua:3156: in function 'on_gui_click_in_cheats_menu_toggles'
__creative-mod__/scripts/gui-menu-cheats.lua:3709: in function 'on_gui_click_in_cheats_menus_gui_data_contents'
__creative-mod__/scripts/gui-menu-cheats.lua:3767: in function 'on_gui_click'
__creative-mod__/scripts/gui-menu.lua:322: in function 'on_gui_click'
__creative-mod__/scripts/gui.lua:295: in function 'on_gui_click'
__creative-mod__/scripts/events.lua:661: in function '?'
__creative-mod__/scripts/events.lua:1421: in function <__creative-mod__/scripts/events.lua:1351>