Skip to content

Commit

Permalink
Apply previous material change to items
Browse files Browse the repository at this point in the history
i@dirt,2 is now a possible identification
  • Loading branch information
mcmonkey4eva committed Sep 24, 2014
1 parent 1605f97 commit f325372
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/aufdemrand/denizen/objects/dItem.java
Expand Up @@ -484,7 +484,8 @@ else if (isItemscript()) {
}

// Else, return the material name
return "i@" + identifyMaterial().replace("m@", "") + PropertyParser.getPropertiesString(this);
return "i@" + dMaterial.getMaterialFrom(item.getType(),
item.getData().getData()).identify().replace("m@", "") + PropertyParser.getPropertiesString(this);
}


Expand Down

0 comments on commit f325372

Please sign in to comment.