Fixes to enchantment item detection

This commit is contained in:
rockyhawk64 2025-05-05 18:03:40 +10:00
parent 2292800645
commit 4ed4f7a7bf

View File

@ -126,7 +126,7 @@ public class CompareUtil {
}
}catch(Exception ignore){}
//check for enchantments
if(one.getEnchantments() == two.getEnchantments()){
if(!one.getEnchantments().equals(two.getEnchantments())){
if(!one.getEnchantments().isEmpty()) {
return false;
}