diff options
author | webdesigner97 <Christian_D_97@gmx.de> | 2014-05-27 18:58:18 +0200 |
---|---|---|
committer | webdesigner97 <Christian_D_97@gmx.de> | 2014-05-27 18:58:18 +0200 |
commit | abecee937d0ef5c6060e32866684d1621b5506da (patch) | |
tree | 90fb1506e3e837aad1448bfe5416e509a110be25 /emergencyphone | |
parent | 7480f644e291f651ff9fa04b77308f824e215b09 (diff) | |
download | roads-abecee937d0ef5c6060e32866684d1621b5506da.tar roads-abecee937d0ef5c6060e32866684d1621b5506da.tar.gz roads-abecee937d0ef5c6060e32866684d1621b5506da.tar.bz2 roads-abecee937d0ef5c6060e32866684d1621b5506da.tar.xz roads-abecee937d0ef5c6060e32866684d1621b5506da.zip |
use a builtin method
Diffstat (limited to 'emergencyphone')
-rw-r--r-- | emergencyphone/init.lua | 2 |
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 }) |