Missed one
This commit is contained in:
parent
0b5f3a89f0
commit
39491c632f
@ -24,7 +24,7 @@ local function match(nodename)
|
||||
end
|
||||
|
||||
local function check(pos, thingname, pname)
|
||||
if nodecore.get_player_privs_cached(pname).protection_bypass then return end
|
||||
if minetest.get_player_privs(pname).protection_bypass then return end
|
||||
if match(thingname) or match(nodecore.stack_get(pos):get_name()) then
|
||||
local owned = exmachina.owner_search(pos)
|
||||
if owned and owned ~= pname then
|
||||
|
Loading…
x
Reference in New Issue
Block a user