Translate the string to color codes
This commit is contained in:
parent
f431b619fe
commit
0dff3706cd
@ -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 New Issue
Block a user