From 0dff3706cda6ee3741c275fb57c9eb2b61e64a29 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 6 Nov 2013 04:57:58 +1300 Subject: [PATCH] Translate the string to color codes --- src/me/libraryaddict/disguise/BaseDisguiseCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/BaseDisguiseCommand.java b/src/me/libraryaddict/disguise/BaseDisguiseCommand.java index 31b00592..42d8f8fe 100644 --- a/src/me/libraryaddict/disguise/BaseDisguiseCommand.java +++ b/src/me/libraryaddict/disguise/BaseDisguiseCommand.java @@ -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;