Use register_on_mods_loaded

This commit is contained in:
Jordan Irwin 2021-07-12 06:17:59 -07:00
parent 7280c2a538
commit 774b22a55b

View file

@ -26,7 +26,7 @@ if i_file then
end
-- register actions for after server startup
core.after(0, function()
core.register_on_mods_loaded(function()
for i_old, i_new in pairs(i_list.replace) do
cleaner.log("action", "replacing item \"" .. i_old .. "\" with \"" .. i_new .. "\"")