master
JPG 2018-01-18 11:56:15 +01:00
parent cf1ace01d7
commit 185d700128
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ end
function areas:canInteractInArea(pos1, pos2, name, allow_open)
local player = minetest.get_player_by_name(name)
local wield_item = player:get_wielded_item():get_name()
print("hello")
if name and (minetest.check_player_privs(name, self.adminPrivs) or
wield_item:find("audioblocks:bloc_phrase") then