summaryrefslogtreecommitdiff
path: root/worldedit/init.lua
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2013-05-18 19:00:12 -0400
committerAnthony Zhang <azhang9@gmail.com>2013-05-18 19:00:12 -0400
commitd7ae19b7b87137d480ff7b51014d1379955ef664 (patch)
treec5b76f45d29a382d28518e666a3ef48c8803bc8b /worldedit/init.lua
parent52c1379bce43aaab5217643403eb9a4d83459b05 (diff)
Fix the //move command (WorldEdit API is unaffected).
Diffstat (limited to 'worldedit/init.lua')
-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()