1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-15 23:20:16 +01:00
This commit is contained in:
Isidor Zeuner 2017-11-11 18:03:56 +01:00
parent 840f5e8c1f
commit 6174196b50

View File

@ -9,7 +9,12 @@ area_protection.interaction_restrictions = function(
player_name
)
if area_protection.areas then
if minetest.check_player_privs(name, {areas = true}) then
if minetest.check_player_privs(
player_name,
{
areas = true
}
) then
return false
end
return true