Skip to content

Commit

Permalink
Siliently ignore failed dItem creation on 'none'…
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Aug 3, 2013
1 parent a1a7089 commit c71e725
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 @@ -198,6 +198,7 @@ else if (ScriptRegistry.containsScript(m.group(1), BookScriptContainer.class)) {
return stack;
}
catch (Exception e) {
if (!string.equalsIgnoreCase("none"))
dB.log("Does not match a valid item ID or material: " + string);
}
}
Expand All @@ -220,7 +221,6 @@ public static boolean matches(String arg) {
}
nope = false;
return false;

}


Expand Down

0 comments on commit c71e725

Please sign in to comment.