Skip to content

Commit

Permalink
Don't strip colors from the NPC name
Browse files Browse the repository at this point in the history
Strip colors unrequestedly is rather mean. :(
  • Loading branch information
mcmonkey4eva committed Nov 4, 2014
1 parent 18476aa commit 53e5257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/aufdemrand/denizen/objects/dNPC.java
Expand Up @@ -428,7 +428,7 @@ public String getAttribute(Attribute attribute) {
// returns the name of the NPC.
// -->
if (attribute.startsWith("name"))
return new Element(ChatColor.stripColor(getName()))
return new Element(getName())
.getAttribute(attribute.fulfill(1));

// <--[tag]
Expand Down

0 comments on commit 53e5257

Please sign in to comment.