Skip to content

Commit

Permalink
Remove debug by default, take out debug left in NBTItem.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Mar 22, 2013
1 parent 7b2d2c3 commit 5151998
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/aufdemrand/denizen/Settings.java
Expand Up @@ -12,7 +12,7 @@ public class Settings {

public static boolean ShowDebug() {
return DenizenAPI.getCurrentInstance().getConfig()
.getBoolean("Debug.Show", true);
.getBoolean("Debug.Show", false);
}

/*
Expand Down
Expand Up @@ -24,7 +24,7 @@ public static boolean hasCustomNBT(Item item, String key) {
net.minecraft.server.v1_5_R2.ItemStack cis = getItemStackHandle(item);
if (!cis.hasTag()) return false;
tag = cis.getTag();
dB.echoDebug(tag.toString());
// dB.echoDebug(tag.toString());
// if this item has the NBTData for 'owner', there is an engraving.
return tag.hasKey(key);
}
Expand Down Expand Up @@ -65,7 +65,7 @@ public static boolean hasCustomNBT(ItemStack item, String key) {
net.minecraft.server.v1_5_R2.ItemStack cis = getItemStackHandle(item);
if (!cis.hasTag()) return false;
tag = cis.getTag();
dB.echoDebug(tag.toString());
// dB.echoDebug(tag.toString());
// if this item has the NBTData for 'owner', there is an engraving.
return tag.hasKey(key);
}
Expand Down

0 comments on commit 5151998

Please sign in to comment.