Added missing new permissions, and minor cleanup; switched Rel enum values back to previous values, for the sake of other plugins which might check against the actual enum value (for better compatibility with both 1.6.x and 1.7.x+ versions)

IMPORTANT NOTE:
Existing plugin users who are upgrading to this version will likely need to grant default permissions for recruits, like so:
f config factionPermDefaults door recruit
f config factionPermDefaults button recruit
f config factionPermDefaults lever recruit
f config factionPermDefaults build recruit
This commit is contained in:
Brettflan
2013-01-26 20:38:04 -06:00
parent 5da296e8ca
commit 15024bf880
3 changed files with 9 additions and 7 deletions

View File

@ -143,9 +143,9 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator
if (doSpoutUpdate)
{
SpoutFeatures.updateTitle(this, null);
SpoutFeatures.updateTitle(null, this);
SpoutFeatures.updateCape(this.getPlayer(), null);
SpoutFeatures.updateTitle(this, null);
SpoutFeatures.updateTitle(null, this);
SpoutFeatures.updateCape(this.getPlayer(), null);
}
}

View File

@ -6,10 +6,10 @@ import com.massivecraft.factions.Conf;
public enum Rel
{
LEADER (80, "your faction leader", "your faction leader", "", ""),
OFFICER (70, "an officer in your faction", "officers in your faction", "", ""),
MEMBER (60, "a member in your faction", "members in your faction", "your faction", "your factions"),
RECRUIT (50, "a recruit in your faction", "recruits in your faction", "", ""),
LEADER (70, "your faction leader", "your faction leader", "", ""),
OFFICER (60, "an officer in your faction", "officers in your faction", "", ""),
MEMBER (50, "a member in your faction", "members in your faction", "your faction", "your factions"),
RECRUIT (45, "a recruit in your faction", "recruits in your faction", "", ""),
ALLY (40, "an ally", "allies", "an allied faction", "allied factions"),
TRUCE (30, "someone in truce with you", "those in truce with you", "a faction in truce", "factions in truce"),
NEUTRAL (20, "someone neutral to you", "those neutral to you", "a neutral faction", "neutral factions"),