mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-02-04 14:41:21 +01:00
Fix color code gibberishing for announcements.
This commit is contained in:
parent
e1feb5172c
commit
b0c630df36
@ -86,15 +86,15 @@ public enum Msg {
|
||||
}
|
||||
|
||||
void set(String value) {
|
||||
this.value = ChatColor.translateAlternateColorCodes('&', value);
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return value;
|
||||
return ChatColor.translateAlternateColorCodes('&', value);
|
||||
}
|
||||
|
||||
public String format(String s) {
|
||||
return value.replaceAll("%", s);
|
||||
return toString().replaceAll("%", s);
|
||||
}
|
||||
|
||||
static void load(ConfigurationSection config) {
|
||||
|
Loading…
Reference in New Issue
Block a user