From 002dc462d64b6251992a2a129f31abe78f44e7f2 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 20 Apr 2024 13:02:27 +0200 Subject: [PATCH] Make wand tool not point the region marker cube --- worldedit_commands/wand.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/worldedit_commands/wand.lua b/worldedit_commands/wand.lua index 4952187..05c0aee 100644 --- a/worldedit_commands/wand.lua +++ b/worldedit_commands/wand.lua @@ -16,6 +16,13 @@ minetest.register_tool(":worldedit:wand", { stack_max = 1, -- there is no need to have more than one liquids_pointable = true, -- ground with only water on can be selected as well + -- ignore marker cube so the clicking on the position markers works reliably + pointabilities = { + objects = { + ["worldedit:region_cube"] = false + } + }, + on_use = function(itemstack, placer, pointed_thing) if placer == nil or pointed_thing == nil then return end local name = placer:get_player_name()