Missed one

This commit is contained in:
Aaron Suen 2022-10-07 07:02:41 -04:00
parent 0b5f3a89f0
commit 39491c632f

View File

@ -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