Fix failed detection of incorrect blacklist names.

This commit is contained in:
sk89q 2014-12-31 02:30:31 -08:00
parent c8393cdcec
commit 41c68664d7

View File

@ -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;
}