mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-27 13:07:29 +01:00
Fix failed detection of incorrect blacklist names.
This commit is contained in:
parent
c8393cdcec
commit
41c68664d7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user