fix setting description to coords without need

This commit is contained in:
whosit 2021-05-28 10:01:22 +03:00
parent 8fb45f1e94
commit 5da1285a18

View File

@ -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))