Add fawe.worldguard.member
This commit is contained in:
parent
5bbc381dd0
commit
36f973e36c
@ -69,6 +69,13 @@ public class Worldguard extends BukkitMaskManager implements Listener {
|
||||
} else if (region.isOwner("*")) {
|
||||
return true;
|
||||
}
|
||||
if (localplayer.hasPermission("fawe.worldguard.member")) {
|
||||
if (region.isMember(localplayer) || region.isMember(localplayer.getName())) {
|
||||
return true;
|
||||
} else if (region.isMember("*")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user