diff options
Diffstat (limited to 'worldedit_infinity/init.lua')
-rw-r--r-- | worldedit_infinity/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/worldedit_infinity/init.lua b/worldedit_infinity/init.lua index be79101..8bd3a05 100644 --- a/worldedit_infinity/init.lua +++ b/worldedit_infinity/init.lua @@ -1,4 +1,4 @@ -worldedit = worldedit or {}
+worldedit = rawget(_G, "worldedit") or {}
local minetest = minetest --local copy of global
local get_pointed = function(pos, nearest, distance)
@@ -100,4 +100,4 @@ worldedit.raytrace = function(pos, dir, callback) intersectz = intersectz + componentz
end
end
-end
\ No newline at end of file +end
|