Skip to content

Commit 38f4715

Browse files
sfan5MoNTE48
authored andcommitted
Make wand tool not point the region marker cube
1 parent 83a028f commit 38f4715

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

worldedit_commands/wand.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ minetest.register_tool(":worldedit:wand", {
1717
stack_max = 1, -- there is no need to have more than one
1818
liquids_pointable = true, -- ground with only water on can be selected as well
1919

20+
-- ignore marker cube so the clicking on the position markers works reliably
21+
pointabilities = {
22+
objects = {
23+
["worldedit:region_cube"] = false
24+
}
25+
},
26+
2027
on_use = function(itemstack, placer, pointed_thing)
2128
if placer == nil or pointed_thing == nil then return end
2229
local name = placer:get_player_name()

0 commit comments

Comments
 (0)