From c71e725c6236da97845c5d22d5ae78ec92924846 Mon Sep 17 00:00:00 2001 From: Jeremy Schroeder Date: Sat, 3 Aug 2013 13:34:58 -0400 Subject: [PATCH] =?UTF-8?q?Siliently=20ignore=20failed=20dItem=20creation?= =?UTF-8?q?=20on=20'none'=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/net/aufdemrand/denizen/objects/dItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/aufdemrand/denizen/objects/dItem.java b/src/main/java/net/aufdemrand/denizen/objects/dItem.java index b755e69a11..91447c9b9c 100644 --- a/src/main/java/net/aufdemrand/denizen/objects/dItem.java +++ b/src/main/java/net/aufdemrand/denizen/objects/dItem.java @@ -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); } } @@ -220,7 +221,6 @@ public static boolean matches(String arg) { } nope = false; return false; - }