summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/init.lua b/init.lua
index 5eff4cf..462b0c7 100644
--- a/init.lua
+++ b/init.lua
@@ -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())