11.449 Loading mod Kux-SmartLinkedChests 3.2.6 (data-final-fixes.lua)
11.452 Script @__Kux-CoreLib__/lib/String.lua:1: Loading KuxCoreLib.String.lua
11.452 Error ModManager.cpp:1751: Failed to load mod "Kux-SmartLinkedChests": __Kux-SmartLinkedChests__/data-final-fixes.lua:25: attempt to index field 'smart-linked-chest-outpost' (a nil value)
stack traceback:
__Kux-SmartLinkedChests__/data-final-fixes.lua:25: in main chunk
Culprit appears to be a check against the outpost's next_upgrade
field to handle an improper change to it made by 5dim without first checking if the outpost radar entity exists. I've fixed it locally by changing the conditional to:
if data.raw["radar"]["smart-linked-chest-outpost"] and data.raw["radar"]["smart-linked-chest-outpost"].next_upgrade == "5d-radar-02" then