mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-14 20:59:10 +00:00
Translate the string to color codes
This commit is contained in:
parent
f431b619fe
commit
0dff3706cd
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
|
||||||
+ " instead for " + methodName);
|
+ " instead for " + methodName);
|
||||||
value = (boolean) "true".equalsIgnoreCase(valueString);
|
value = (boolean) "true".equalsIgnoreCase(valueString);
|
||||||
} else if (param == String.class) {
|
} else if (param == String.class) {
|
||||||
value = valueString;
|
value = ChatColor.translateAlternateColorCodes('&', valueString);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue