Reformat
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user