From 774b22a55bb8c3fa6ec7ad82e70ec33ede6461d5 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Mon, 12 Jul 2021 06:17:59 -0700 Subject: [PATCH] Use register_on_mods_loaded --- items.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/items.lua b/items.lua index 47da345..b68bd04 100644 --- a/items.lua +++ b/items.lua @@ -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 .. "\"")