mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-01-14 12:00:25 +01:00
Make wand tool not point the region marker cube
This commit is contained in:
parent
a713efe051
commit
002dc462d6
@ -16,6 +16,13 @@ minetest.register_tool(":worldedit:wand", {
|
|||||||
stack_max = 1, -- there is no need to have more than one
|
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
|
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)
|
on_use = function(itemstack, placer, pointed_thing)
|
||||||
if placer == nil or pointed_thing == nil then return end
|
if placer == nil or pointed_thing == nil then return end
|
||||||
local name = placer:get_player_name()
|
local name = placer:get_player_name()
|
||||||
|
Loading…
Reference in New Issue
Block a user