Merge pull request #233 from speedxx/development

fix npe in /myinfo
This commit is contained in:
super
2020-07-18 19:58:09 -04:00
committed by GitHub
@@ -590,6 +590,8 @@ public class FUtil
}
public static String colorize(String string)
{
if (string != null)
{
Matcher matcher = Pattern.compile("&#[a-f0-9A-F]{6}").matcher(string);
while (matcher.find())
@@ -599,6 +601,7 @@ public class FUtil
}
string = ChatColor.translateAlternateColorCodes('&', string);
}
return string;
}