From c08ddb2723520989765ed814ec497f9fe5c4460f Mon Sep 17 00:00:00 2001 From: mcmonkey4eva Date: Fri, 30 Aug 2013 15:13:29 -0700 Subject: [PATCH] Adjust dNPC meta --- src/main/java/net/aufdemrand/denizen/objects/dNPC.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/aufdemrand/denizen/objects/dNPC.java b/src/main/java/net/aufdemrand/denizen/objects/dNPC.java index 473656ed9c..3dfb0077ae 100644 --- a/src/main/java/net/aufdemrand/denizen/objects/dNPC.java +++ b/src/main/java/net/aufdemrand/denizen/objects/dNPC.java @@ -264,10 +264,10 @@ public String getAttribute(Attribute attribute) { if (attribute == null) return "null"; // <--[tag] - // @attribute + // @attribute // @returns Element // @description - // returns the NPC's nickname provided by the nickname trait, or null if the npc does not have the nickname trait. + // returns the NPC's nickname provided by the nickname trait, or null if the NPC does not have the nickname trait. // --> if (attribute.startsWith("name.nickname")) return new Element(getCitizen().hasTrait(NicknameTrait.class) ? getCitizen().getTrait(NicknameTrait.class) @@ -277,7 +277,7 @@ public String getAttribute(Attribute attribute) { // @attribute // @returns Element // @description - // returns the player's nickname provided by the nickname trait, or null if the NPC does not have a nickname + // returns the name of the NPC. // --> if (attribute.startsWith("name")) return new Element(ChatColor.stripColor(getName()))