summaryrefslogtreecommitdiff
path: root/worldedit
diff options
context:
space:
mode:
Diffstat (limited to 'worldedit')
-rw-r--r--worldedit/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit/init.lua b/worldedit/init.lua
index fb4a0c8..11b90e9 100644
--- a/worldedit/init.lua
+++ b/worldedit/init.lua
@@ -1,4 +1,4 @@
-local path = minetest.get_modpath("worldedit")
+local path = minetest.get_modpath(minetest.get_current_modname())
local loadmodule = function(path)
return pcall(function()