diff --git a/pom.xml b/pom.xml index 3ef845aac..769871605 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ me.blackvein.quests quests - 3.4.8 + 3.4.9 quests https://github.com/FlyingPikachu/Quests/ jar diff --git a/src/main/java/me/blackvein/quests/util/ItemUtil.java b/src/main/java/me/blackvein/quests/util/ItemUtil.java index 45ddd67ee..fd683809f 100644 --- a/src/main/java/me/blackvein/quests/util/ItemUtil.java +++ b/src/main/java/me/blackvein/quests/util/ItemUtil.java @@ -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()) {