Check for style.
This commit is contained in:
@@ -71,7 +71,11 @@ public class TextUtil {
|
||||
for (int i = 0; i < chars.length; i++) {
|
||||
if (chars[i] == '§') {
|
||||
if (color != null) {
|
||||
if (color.isColor()) {
|
||||
message.then(text).color(color);
|
||||
} else {
|
||||
message.then(text).style(color);
|
||||
}
|
||||
text = "";
|
||||
color = ChatColor.getByChar(chars[i + 1]);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user