diff --git a/src/main/java/com/sk89q/worldguard/blacklist/target/TargetMatcherParser.java b/src/main/java/com/sk89q/worldguard/blacklist/target/TargetMatcherParser.java index 7e0665ee..db6376e8 100644 --- a/src/main/java/com/sk89q/worldguard/blacklist/target/TargetMatcherParser.java +++ b/src/main/java/com/sk89q/worldguard/blacklist/target/TargetMatcherParser.java @@ -54,7 +54,7 @@ private int parseType(String input) throws TargetMatcherParseException { return Integer.parseInt(input); } catch (NumberFormatException e) { int id = getItemID(input); - if (id != 0) { + if (id > 0) { return id; }