Fix script break stop if config file not found

This commit is contained in:
Jim Shield
2025-06-28 11:22:12 +01:00
parent d0a09871c7
commit 5a97b8f83a
6 changed files with 123 additions and 3 deletions

View File

@@ -353,7 +353,7 @@ for script, data in pairs(invWeightTable) do
local lookup, err = getInventoryConfig(script, data)
if not lookup then
print(("^1ERROR^7: ^1Config loader failed from ^5%s^7: ^1%s^7"):format(script, err or "unknown"))
return
break
end
local function resolve(label, path)