https://mods.factorio.com/mod/BlueprintLab_Bud17
Crash happens when entering the lab. Message:
Error while running event SeaBlock::on_player_main_inventory_changed (ID 32)
SeaBlock/control.lua:120: attempt to index local 'inv' (a nil value)
The crash does not occur if I replace player.get_main_inventory(defines.inventory.player_main)
with player.get_main_inventory()
in that event handler, and the tech still unlocks as expected.