summaryrefslogtreecommitdiff
path: root/worldedit/code.lua
diff options
context:
space:
mode:
Diffstat (limited to 'worldedit/code.lua')
-rw-r--r--worldedit/code.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/worldedit/code.lua b/worldedit/code.lua
index ee2d340..366688e 100644
--- a/worldedit/code.lua
+++ b/worldedit/code.lua
@@ -1,4 +1,5 @@
worldedit = worldedit or {}
+local minetest = minetest --local copy of global
--executes `code` as a Lua chunk in the global namespace, returning an error if the code fails or nil otherwise
worldedit.lua = function(code)