I have lua error when i start my dedicated server for gmod. This error related with leaked mining system which i downloaded. I`m not that strong in lua (like in english) but i need help.
14 function AMS2.Config.Store:GetIDByName(name) 15 for k, v in ipairs(AMS2.Store) do 16 if v.Name == name then 17 return k 18 end 19 end 20 end 21 22 function AMS2.Config.Store:Change(name, data) 23 local id = AMS2.Config.Store:GetIDByName(name) 24 local old = AMS2.Config.Store:Get(id) 25 for k, v in pairs(old) do 26 if data[k] then 27 old[k] = data[k] 28 end 29 end 30 AMS2.Store[id] = old 31 end