diff options
-rw-r--r-- | init.lua | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -201,10 +201,6 @@ minetest.register_node(":firealarm:pullstation_off",{ {-0.15,-0.5,0.4,0.18,-0.11,0.5}, }, }, - on_punch = function(pos,_,player) - local name = player:get_player_name() - minetest.chat_send_player(name,string.format("Position: %d,%d,%d",pos.x,pos.y,pos.z)) - end, on_rightclick = function(pos,node,clicker) if minetest.is_protected(pos,clicker:get_player_name()) and not minetest.check_player_privs(clicker,"protection_bypass") and not minetest.check_player_privs(clicker,"firealarm") then minetest.record_protection_violation(pos,clicker:get_player_name()) @@ -237,10 +233,6 @@ minetest.register_node(":firealarm:pullstation_on",{ {-0.15,-0.5,0.4,0.18,-0.11,0.5}, }, }, - on_punch = function(pos,_,player) - local name = player:get_player_name() - minetest.chat_send_player(name,string.format("Position: %d,%d,%d",pos.x,pos.y,pos.z)) - end, on_rightclick = function(pos,node,clicker) if minetest.is_protected(pos,clicker:get_player_name()) and not minetest.check_player_privs(clicker,"protection_bypass") then minetest.record_protection_violation(pos,clicker:get_player_name()) |