diff options
Diffstat (limited to 'script/library.lua')
-rw-r--r-- | script/library.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/script/library.lua b/script/library.lua index e0c32023..434a3bcf 100644 --- a/script/library.lua +++ b/script/library.lua @@ -313,8 +313,10 @@ end local function apply3rd(cfg, onlyMemory) local changes = {} - for _, change in ipairs(cfg.configs) do - changes[#changes+1] = change + if cfg.configs then + for _, change in ipairs(cfg.configs) do + changes[#changes+1] = change + end end if cfg.plugin then |