summaryrefslogtreecommitdiff
path: root/worldedit/visualization.lua
diff options
context:
space:
mode:
Diffstat (limited to 'worldedit/visualization.lua')
-rw-r--r--worldedit/visualization.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/worldedit/visualization.lua b/worldedit/visualization.lua
index f3d4a35..3c1a2db 100644
--- a/worldedit/visualization.lua
+++ b/worldedit/visualization.lua
@@ -94,8 +94,8 @@ worldedit.suppress = function(pos1, pos2, nodename)
return count
end
---finds all instances of `nodename` in a region defined by positions `pos1` and `pos2` by non-destructively hiding all other nodes, returning the number of nodes found
-worldedit.find = function(pos1, pos2, nodename)
+--highlights all instances of `nodename` in a region defined by positions `pos1` and `pos2` by non-destructively hiding all other nodes, returning the number of nodes found
+worldedit.highlight = function(pos1, pos2, nodename)
local pos1, pos2 = worldedit.sort_pos(pos1, pos2)
local env = minetest.env