Faction chat is now something you turn on and off
This commit is contained in:
@@ -90,10 +90,6 @@ public class Conf {
|
||||
|
||||
aliasBase.add("/f");
|
||||
aliasBase.add("f");
|
||||
aliasBase.add("/faction");
|
||||
aliasBase.add("faction");
|
||||
aliasBase.add("/factions");
|
||||
aliasBase.add("factions");
|
||||
|
||||
aliasHelp.add("help");
|
||||
aliasHelp.add("h");
|
||||
|
||||
@@ -18,8 +18,20 @@ public class Follower {
|
||||
private String title;
|
||||
private double power;
|
||||
private long lastPowerUpdateTime;
|
||||
private boolean mapAutoUpdating;
|
||||
private boolean mapAutoUpdating;
|
||||
private boolean factionChatting;
|
||||
|
||||
public boolean isFactionChatting() {
|
||||
if (this.factionId == 0) {
|
||||
return false;
|
||||
}
|
||||
return factionChatting;
|
||||
}
|
||||
|
||||
public void setFactionChatting(boolean factionChatting) {
|
||||
this.factionChatting = factionChatting;
|
||||
}
|
||||
|
||||
public Follower() {
|
||||
this.resetFactionData();
|
||||
this.power = this.getPowerMax();
|
||||
@@ -29,6 +41,7 @@ public class Follower {
|
||||
|
||||
protected void resetFactionData() {
|
||||
this.factionId = 0; // The default neutral faction
|
||||
this.factionChatting = false;
|
||||
this.role = Role.NORMAL;
|
||||
this.title = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user