forked from whosit/waypoint_compass
change measuring point label
This commit is contained in:
parent
ceaa5df331
commit
9c4e4bb3e1
2
init.lua
2
init.lua
@ -390,7 +390,7 @@ local function compass_meausure_callback(itemstack, user, __pointed_thing)
|
||||
return
|
||||
end
|
||||
local distance = vector.length(vector.subtract(compass_pos, point_pos))
|
||||
local label = ("distance to waypoint: %.2fm"):format(distance)
|
||||
local label = ("distance to main point: %.2fm"):format(distance)
|
||||
local label_color = 0x00FF00
|
||||
local icon = WAYPOINT_ICON
|
||||
local icon_scale = WAYPOINT_SCALE
|
||||
|
Loading…
Reference in New Issue
Block a user