Skip to content

Commit

Permalink
remove underscores from item.material.formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 28, 2013
1 parent 57cc1fc commit 989548f
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 @@ -613,7 +613,7 @@ public String getAttribute(Attribute attribute) {
// -->
if (attribute.startsWith("material.formatted")) {

String id = item.getType().name().toLowerCase();
String id = item.getType().name().toLowerCase().replace('_', ' ');

if (id.equals("air"))
return new Element("nothing")
Expand Down

0 comments on commit 989548f

Please sign in to comment.