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 2588bd9 commit c8658fc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ public boolean check(Event event) {
ItemMeta meta = itemType.getItemMeta();
// Pattern 'is forced to glint'
if (pattern == 2) {
if (meta.hasEnchantmentGlintOverride())
return false;
return meta.getEnchantmentGlintOverride();
// Pattern 'has enchantment glint override'
} else {
Expand Down

0 comments on commit c8658fc

Please sign in to comment.