Use FPerm for invite and deinvite as opposed to checking ranks.

This commit is contained in:
Olof Larsson
2013-04-17 10:34:48 +02:00
parent 2689bad8a0
commit 299316a915
4 changed files with 7 additions and 8 deletions

View File

@@ -102,7 +102,6 @@ public class Faction extends Entity<Faction> implements EconomyParticipator
// The flag overrides are the modifications to the default values
private Map<FFlag, Boolean> flagOverrides;
// FIELDS: Permission <-> Groups management
private Map<FPerm, Set<Rel>> permOverrides; // Contains the modifications to the default values
@@ -582,8 +581,6 @@ public class Faction extends Entity<Faction> implements EconomyParticipator
return RelationUtil.getColorOfThatToMe(this, observer);
}
// TODO: Implement a has enough feature.
// -------------------------------------------- //
// POWER