Translate the string to color codes

This commit is contained in:
Andrew 2013-11-06 04:57:58 +13:00
parent f431b619fe
commit 0dff3706cd

View File

@ -165,7 +165,7 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
+ " instead for " + methodName);
value = (boolean) "true".equalsIgnoreCase(valueString);
} else if (param == String.class) {
value = valueString;
value = ChatColor.translateAlternateColorCodes('&', valueString);
}
}
break;