Skip to content

Commit b0fbcf1

Browse files
committedFeb 15, 2015
Merge pull request #72 from HybridDog/globalfix
fix an error message
2 parents bb8456b + b468e24 commit b0fbcf1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

Diff for: ‎worldedit_infinity/depends.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
worldedit?

Diff for: ‎worldedit_infinity/init.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
worldedit = worldedit or {}
1+
worldedit = rawget(_G, "worldedit") or {}
22
local minetest = minetest --local copy of global
33

44
local get_pointed = function(pos, nearest, distance)
@@ -100,4 +100,4 @@ worldedit.raytrace = function(pos, dir, callback)
100100
intersectz = intersectz + componentz
101101
end
102102
end
103-
end
103+
end

0 commit comments

Comments
 (0)
Please sign in to comment.