diff options
author | cheapie <no-email-for-you@example.com> | 2020-04-29 20:21:25 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2020-04-29 20:21:25 -0500 |
commit | 8d8fe4507c295aa0fced63410470b9ab2a09d6be (patch) | |
tree | dc6a9647231cd1e6e88e7f5dd49ceb7d84d0dace | |
parent | f4de2b1d8b95fb10e3004de733ff9bc57e79fe9b (diff) | |
download | firealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.tar firealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.tar.gz firealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.tar.bz2 firealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.tar.xz firealarm_decoronly-8d8fe4507c295aa0fced63410470b9ab2a09d6be.zip |
-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()) |