Use FPerm for invite and deinvite as opposed to checking ranks.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user