Revert item meta comparison, fixes #1785

This commit is contained in:
PikaMug 2021-09-16 01:02:35 -04:00
parent 845753ebf4
commit a795ebe360

View File

@ -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) { if (one.getItemMeta() != null && two.getItemMeta() == null) {
return -4; return -4;
} else if (!one.hasItemMeta() && two.hasItemMeta()) { } else if (!one.hasItemMeta() && two.hasItemMeta()) {
return -4; return -4;