Prevent strings from getting larger than 16 chars

Fixes #2314
This commit is contained in:
TfT_02 2014-10-04 20:31:37 +02:00
parent 864a760e9c
commit 38cc7435dc

View File

@ -134,7 +134,7 @@ public class ScoreboardManager {
private static String formatAbility(ChatColor color, String abilityName) { private static String formatAbility(ChatColor color, String abilityName) {
if (Config.getInstance().getShowAbilityNames()) { if (Config.getInstance().getShowAbilityNames()) {
return color + getShortenedName(abilityName); return getShortenedName(color + abilityName);
} }
else { else {
return color + LocaleLoader.getString("Scoreboard.Misc.Ability"); return color + LocaleLoader.getString("Scoreboard.Misc.Ability");