diff --git a/mods/CORE/mcl_util/init.lua b/mods/CORE/mcl_util/init.lua index b6fd71673..6b3bd6db1 100644 --- a/mods/CORE/mcl_util/init.lua +++ b/mods/CORE/mcl_util/init.lua @@ -1,6 +1,8 @@ mcl_util = {} -dofile(minetest.get_modpath(minetest.get_current_modname()).."/roman_numerals.lua") +local modname = minetest.get_current_modname() +local modpath = minetest.get_modpath(modname) +dofile(modpath.."/roman_numerals.lua") -- Updates all values in t using values from to*. function table.update(t, ...)