From abecee937d0ef5c6060e32866684d1621b5506da Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Tue, 27 May 2014 18:58:18 +0200 Subject: use a builtin method --- emergencyphone/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emergencyphone') 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 }) -- cgit v1.2.3