Skip to content

Commit

Permalink
Use material.identifySimple in world events
Browse files Browse the repository at this point in the history
We don't want datavalues in world events
  • Loading branch information
mcmonkey4eva committed Sep 23, 2014
1 parent d8fc2ab commit 1b8ea07
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 @@ -512,7 +512,7 @@ else if (isItemscript()) {

// Special-case that essentially fetches the material of the items and uses its 'identify()' method
public String identifyMaterial() {
return dMaterial.getMaterialFrom(item.getType(), item.getData().getData()).identify();
return dMaterial.getMaterialFrom(item.getType(), item.getData().getData()).identifySimple();
}

public String getFullString() {
Expand Down

0 comments on commit 1b8ea07

Please sign in to comment.