diff --git a/init.lua b/init.lua index 81fb944..b4af0a9 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,5 @@ xdecor = {} -modpath = minetest.get_modpath("xdecor") +local modpath = minetest.get_modpath("xdecor") dofile(modpath.."/handlers/nodeboxes.lua") dofile(modpath.."/handlers/registration.lua")