From e4e98aed949bdc40ba8cefde349c02785ae1986b Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Mon, 2 Mar 2015 17:58:08 +0000 Subject: Show protection coords when used as tool --- init.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3