mirror of
https://github.com/rockyhawk64/CommandPanels.git
synced 2025-11-18 07:14:17 +01:00
Fixes to enchantment item detection
This commit is contained in:
parent
2292800645
commit
4ed4f7a7bf
@ -126,7 +126,7 @@ public class CompareUtil {
|
|||||||
}
|
}
|
||||||
}catch(Exception ignore){}
|
}catch(Exception ignore){}
|
||||||
//check for enchantments
|
//check for enchantments
|
||||||
if(one.getEnchantments() == two.getEnchantments()){
|
if(!one.getEnchantments().equals(two.getEnchantments())){
|
||||||
if(!one.getEnchantments().isEmpty()) {
|
if(!one.getEnchantments().isEmpty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user