summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-03-02 17:58:08 +0000
committertenplus1 <kinsellaja@yahoo.com>2015-03-02 17:58:08 +0000
commite4e98aed949bdc40ba8cefde349c02785ae1986b (patch)
tree0ffbae4130c9d57b3bc472c31f65cc2699a53a74 /init.lua
parent1a8634a2c37602fd38edbd984d6908f15b125580 (diff)
Show protection coords when used as tool
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 90dc761..1ff71d8 100644
--- a/init.lua
+++ b/init.lua
@@ -115,6 +115,7 @@ protector.can_dig = function(r,pos,digger,onlyowner,infolevel)
minetest.chat_send_player(whois, "This area is owned by "..owner.." !")
elseif infolevel == 2 then
minetest.chat_send_player(whois,"This area is owned by "..meta:get_string("owner")..".")
+ minetest.chat_send_player(whois,"Protection located at: "..minetest.pos_to_string(positions[1]))
if meta:get_string("members") ~= "" then
minetest.chat_send_player(whois,"Members: "..meta:get_string("members")..".")
end