Proper durability check for certain materials, fixes #557. Bump version

This commit is contained in:
BuildTools 2018-12-09 00:06:34 -05:00
parent 027d6d613b
commit 7d829f9cda
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<groupId>me.blackvein.quests</groupId>
<artifactId>quests</artifactId>
<version>3.4.8</version>
<version>3.4.9</version>
<name>quests</name>
<url>https://github.com/FlyingPikachu/Quests/</url>
<packaging>jar</packaging>

View File

@ -60,7 +60,7 @@ public class ItemUtil {
return -1;
} else if ((one.getAmount() != two.getAmount()) && ignoreAmount == false) {
return -2;
} else if (one.getData().equals(two.getData()) == false) {
} else if (one.getDurability() != two.getDurability()) {
return -3;
}
if (one.hasItemMeta() || two.hasItemMeta()) {