Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Changed: no more white after the displayName

  • Loading branch information...
commit af40ab57d430eb22f0537478a83d407bf9ee3763 1 parent 4511f79
Tim Brust authored
2  src/de/dustplanet/colorme/Actions.java
@@ -466,7 +466,7 @@ else if (plugin.colors.contains(colorPart) && (plugin.colors.getString(colorPart
466 466 }
467 467 else newDisplayName = ChatColor.valueOf(colorPart.toUpperCase()) + newDisplayName;
468 468 }
469   - player.setDisplayName(newDisplayName + ChatColor.WHITE);
  469 + player.setDisplayName(newDisplayName);
470 470 }
471 471 // Check for playerList
472 472 if (plugin.tabList) {
1  src/de/dustplanet/colorme/ColorMeTagAPIListener.java
@@ -57,7 +57,6 @@ else if (plugin.groups && plugin.ownSystem) {
57 57 color = colors[0].toUpperCase();
58 58 if (!actions.isStandard(color)) return;
59 59 name = ChatColor.valueOf(color.toUpperCase()) + name;
60   - if (name.endsWith("\u00A7f")) name = name.substring(0, (name.length() -2));
61 60 if (name != "" && name != null) event.setTag(name);
62 61 }
63 62 }

0 comments on commit af40ab5

Please sign in to comment.
Something went wrong with that request. Please try again.