Skip to content

Commit

Permalink
Fix item.json, fixes #979
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Mar 10, 2015
1 parent a214a3d commit 70c90da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/aufdemrand/denizen/objects/dItem.java
Expand Up @@ -792,7 +792,7 @@ public String getAttribute(Attribute attribute) {
// -->
if (attribute.startsWith("json")) {
String JSON = CraftItemStack.asNMSCopy(item).C().getChatModifier().toString();
return new Element(JSON.substring(176, JSON.length() - 186))
return new Element(JSON.substring(176, JSON.length() - 185))
.getAttribute(attribute.fulfill(1));
}

Expand Down

0 comments on commit 70c90da

Please sign in to comment.