mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 07:05:51 +01:00
Fix inverted values for #620
This commit is contained in:
parent
03a866465c
commit
3ecce10379
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user