mirror of
https://notabug.org/TenPlus1/protector.git
synced 2025-01-22 07:11:27 +01:00
Show protection coords when used as tool
This commit is contained in:
parent
1a8634a2c3
commit
e4e98aed94
1
init.lua
1
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
|
||||
|
Loading…
Reference in New Issue
Block a user