Fixed issue with ownerclaims, players with permission can now build/destroy.
This commit is contained in:
parent
1a2b0ac965
commit
b0d41c032a
@ -108,9 +108,10 @@ public class FactionsBlockListener implements Listener {
|
||||
if (access == Access.DENY) {
|
||||
me.msg(TL.GENERIC_NOPERMISSION, action);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true; // has to be allow
|
||||
} else if (myFaction.getOwnerListString(loc) != null && !myFaction.getOwnerListString(loc).isEmpty() && !myFaction.getOwnerListString(loc).contains(player.getName())) return false;
|
||||
else
|
||||
// the perm is true, so it can build
|
||||
return true; // has to be allow
|
||||
}
|
||||
|
||||
// cancel building/destroying in other territory?
|
||||
|
Loading…
Reference in New Issue
Block a user