diff --git a/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java b/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java index 1e131ffe..dfada055 100644 --- a/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java +++ b/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java @@ -40,6 +40,7 @@ import net.citizensnpcs.api.util.DataKey; import net.citizensnpcs.api.util.MemoryDataKey; import net.citizensnpcs.api.util.Messaging; +import net.citizensnpcs.api.util.Placeholders; public abstract class AbstractNPC implements NPC { private final GoalController goalController = new SimpleGoalController(); @@ -207,7 +208,7 @@ public String getFullName() { "to", name.substring(0, nameLength)); name = name.substring(0, nameLength); } - return name; + return Placeholders.replace(Colorizer.parseColors(name), null, this); } @Override