From a795ebe36057039679970f3795ce9a47cebefaf9 Mon Sep 17 00:00:00 2001 From: PikaMug <2267126+PikaMug@users.noreply.github.com> Date: Thu, 16 Sep 2021 01:02:35 -0400 Subject: [PATCH] Revert item meta comparison, fixes #1785 --- main/src/main/java/me/blackvein/quests/util/ItemUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/me/blackvein/quests/util/ItemUtil.java b/main/src/main/java/me/blackvein/quests/util/ItemUtil.java index 54158bed2..dfd80fdb0 100644 --- a/main/src/main/java/me/blackvein/quests/util/ItemUtil.java +++ b/main/src/main/java/me/blackvein/quests/util/ItemUtil.java @@ -96,7 +96,7 @@ public class ItemUtil { } } if (one.getItemMeta() != null || two.getItemMeta() != null) { - if (one.getItemMeta() != null && two.getItemMeta() != null) { + if (one.getItemMeta() != null && two.getItemMeta() == null) { return -4; } else if (!one.hasItemMeta() && two.hasItemMeta()) { return -4;