mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-11-15 23:20:16 +01:00
bugfix
This commit is contained in:
parent
840f5e8c1f
commit
6174196b50
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user