diff options
author | HybridDog <adresse_test@t-online.de> | 2015-02-14 23:05:06 +0100 |
---|---|---|
committer | HybridDog <adresse_test@t-online.de> | 2015-02-14 23:10:21 +0100 |
commit | b468e24a20b72ecf9ce5227457bdfa84b081812a (patch) | |
tree | 77d818a36ba76ed72f5553225cc66faa51405369 /worldedit_infinity | |
parent | bb8456b71119ca6303b9e9706829a84dc7f81ab3 (diff) |
fix an error message
Diffstat (limited to 'worldedit_infinity')
-rw-r--r-- | worldedit_infinity/depends.txt | 1 | ||||
-rw-r--r-- | worldedit_infinity/init.lua | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/worldedit_infinity/depends.txt b/worldedit_infinity/depends.txt new file mode 100644 index 0000000..c4f6871 --- /dev/null +++ b/worldedit_infinity/depends.txt @@ -0,0 +1 @@ +worldedit? 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
|