Ran into an error that I THINK happened when HeroTurrets tried to upgrade a turret from https://mods.factorio.com/mods/Astrinaar/Vehicle-turrets
'Error MainLoop.cpp:1207: Exception at tick 3148743: The mod HeroTurrets (0.1.29) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event heroturrets::on_entity_died (ID 4)
heroturrets/prototypes/scripts/turrets.lua:61: attempt to index local 'new_entity' (a nil value)
stack traceback:
heroturrets/prototypes/scripts/turrets.lua:61: in function 'local_replace_turret'
heroturrets/prototypes/scripts/turrets.lua:167: in function 'v'
heroturrets/control.lua:381: in function 'local_on_standard_entity_event'
heroturrets/control.lua:413: in function <heroturrets/control.lua:412>'