fix setting description to coords without need
This commit is contained in:
parent
8fb45f1e94
commit
5da1285a18
1
init.lua
1
init.lua
@ -73,7 +73,6 @@ local function set_waypoint_at_pointed_place(itemstack, pointed_thing)
|
||||
if pointed_thing and pointed_thing.type == "node" then
|
||||
local pointed_pos = TARGET_ABOVE and pointed_thing.above or pointed_thing.under
|
||||
local meta = itemstack:get_meta()
|
||||
meta:set_string("description", string.format("Waypoint compass %s", minetest.pos_to_string(pointed_pos)))
|
||||
set_compass_meta_pos(meta, pointed_pos)
|
||||
-- TODO change only if default?
|
||||
--set_compass_meta_label(meta, minetest.pos_to_string(pointed_pos))
|
||||
|
Loading…
Reference in New Issue
Block a user