This commit is contained in:
drtshock
2014-07-01 15:10:18 -05:00
parent 5066934a95
commit 8a6a97cc90
110 changed files with 3131 additions and 1228 deletions

View File

@@ -9,7 +9,8 @@ public enum ChatMode {
public final String nicename;
private ChatMode(final int value, final String nicename) {
this.value = value; this.nicename = nicename;
this.value = value;
this.nicename = nicename;
}
public boolean isAtLeast(ChatMode role) {
@@ -26,6 +27,12 @@ public enum ChatMode {
}
public ChatMode getNext() {
if (this == PUBLIC) { return ALLIANCE; } if (this == ALLIANCE) { return FACTION; } return PUBLIC;
if (this == PUBLIC) {
return ALLIANCE;
}
if (this == ALLIANCE) {
return FACTION;
}
return PUBLIC;
}
}