Skip to content

Commit

Permalink
getName() shouldn't call getFullName()
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed May 5, 2020
1 parent 42838ce commit 974b7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java
Expand Up @@ -218,7 +218,7 @@ public int getId() {

@Override
public String getName() {
return Colorizer.stripColors(getFullName());
return Colorizer.stripColors(name);
}

@Override
Expand Down

0 comments on commit 974b7e7

Please sign in to comment.