Skip to content

Commit

Permalink
Debug Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Jul 2, 2013
1 parent 139da02 commit 0df83f7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/main/java/net/aufdemrand/denizen/objects/dEntity.java
Expand Up @@ -563,8 +563,6 @@ public String getAttribute(Attribute attribute) {
return "null";
}



if (attribute.startsWith("custom_name")) {
if (getLivingEntity().getCustomName() == null) return "null";
return new Element(getLivingEntity().getCustomName()).getAttribute(attribute.fulfill(2));
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/net/aufdemrand/denizen/objects/dLocation.java
Expand Up @@ -267,8 +267,6 @@ public String identify() {
public String getAttribute(Attribute attribute) {
if (attribute == null) return null;

dB.log("getAttribute: " + getType() + " ---> " + attribute.attributes.toString());

if (attribute.startsWith("biome.formatted"))
return new Element(getBlock().getBiome().name().toLowerCase().replace('_', ' '))
.getAttribute(attribute.fulfill(2));
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/net/aufdemrand/denizen/objects/dNPC.java
Expand Up @@ -246,8 +246,6 @@ public String getAttribute(Attribute attribute) {

if (attribute == null) return "null";

dB.log("getAttribute: " + getType() + " ---> " + attribute.attributes.toString());

if (attribute.startsWith("name.nickname"))
return new Element(getCitizen().hasTrait(NicknameTrait.class) ? getCitizen().getTrait(NicknameTrait.class)
.getNickname() : getName()).getAttribute(attribute.fulfill(2));
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/net/aufdemrand/denizen/objects/dPlayer.java
Expand Up @@ -173,8 +173,6 @@ public String toString() {
public String getAttribute(Attribute attribute) {
if (attribute == null) return "null";

dB.log("getAttribute: " + getType() + " ---> " + attribute.attributes.toString());

if (attribute.startsWith("has_played_before"))
return new Element(String.valueOf(getOfflinePlayer().hasPlayedBefore()))
.getAttribute(attribute.fulfill(1));
Expand Down

0 comments on commit 0df83f7

Please sign in to comment.