Fixed some code with Rage's PR
This commit is contained in:
parent
135b961661
commit
eb2a5033f6
@ -38,8 +38,8 @@ public class CmdClaim extends FCommand {
|
||||
final Faction forFaction = this.argAsFaction(1, myFaction); // Default to own
|
||||
|
||||
if (!fme.isAdminBypassing()) {
|
||||
Access access = myFaction.getAccess(fme, PermissableAction.CLAIM);
|
||||
if (access != Access.ALLOW && fme.getRole() != Role.ADMIN) {
|
||||
Access access = myFaction.getAccess(fme, PermissableAction.TERRITORY);
|
||||
if (access != Access.ALLOW && fme.getRole() != Role.LEADER) {
|
||||
fme.msg(TL.GENERIC_NOPERMISSION, "change faction territory");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user