Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
NotSoDelayed committed Jul 1, 2024
1 parent c8658fc commit 36ef45a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public boolean check(Event event) {
ItemMeta meta = itemType.getItemMeta();
// Pattern 'is forced to glint'
if (pattern == 2) {
if (meta.hasEnchantmentGlintOverride())
if (!meta.hasEnchantmentGlintOverride())
return false;
return meta.getEnchantmentGlintOverride();
// Pattern 'has enchantment glint override'
Expand Down

0 comments on commit 36ef45a

Please sign in to comment.