Fix inverted values for #620

This commit is contained in:
BuildTools 2019-01-07 17:38:36 -05:00
parent 03a866465c
commit 3ecce10379

View File

@ -62,7 +62,7 @@ public class ItemUtil {
} else if ((one.getAmount() != two.getAmount()) && ignoreAmount == false) {
return -2;
} else if (one.getDurability() != two.getDurability()) {
if (one.getDurability() >= 999 && two.getDurability() >= 999) { // wildcard value
if (one.getDurability() < 999 && two.getDurability() < 999) { // wildcard value
return -3;
}
}