summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emergencyphone/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/emergencyphone/init.lua b/emergencyphone/init.lua
index d5cb5ae..8c25c65 100644
--- a/emergencyphone/init.lua
+++ b/emergencyphone/init.lua
@@ -10,7 +10,7 @@ minetest.register_node(":streets:emergencyphone",{
on_rightclick = function(pos,node,clicker)
if clicker:is_player() and clicker:get_hp() < 6 then
clicker:set_hp(6)
- minetest.log("action",clicker:get_player_name() .. " healed by emergency phone at pos (" .. pos.x .. "," .. pos.y .. "," .. pos.z .. ")")
+ minetest.log("action",clicker:get_player_name() .. " healed by emergency phone at pos " .. minetest.pos_to_string(pos) .. "")
end
end
})