Skip to content

Commit

Permalink
Fix editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Travja committed May 31, 2024
1 parent dfbe8ff commit 2d3879c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected static ItemStack createItem(ItemStack itemStack, String name, List<Str
ItemFlag hidePotionsFlag;
try {
hidePotionsFlag = ItemFlag.HIDE_ADDITIONAL_TOOLTIP;
} catch (IllegalArgumentException ignored) {
} catch (NoSuchFieldError ignored) {
hidePotionsFlag = ItemFlag.valueOf("HIDE_POTION_EFFECTS");
}

Expand Down

0 comments on commit 2d3879c

Please sign in to comment.