summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2020-04-29 20:21:25 -0500
committercheapie <no-email-for-you@example.com>2020-04-29 20:21:25 -0500
commit8d8fe4507c295aa0fced63410470b9ab2a09d6be (patch)
treedc6a9647231cd1e6e88e7f5dd49ceb7d84d0dace
parentf4de2b1d8b95fb10e3004de733ff9bc57e79fe9b (diff)
downloadfirealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.tar
firealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.tar.gz
firealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.tar.bz2
firealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.tar.xz
firealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.zip
Remove on punch stuff from the pull stationHEADmaster
-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())