Fix rarity for everything that needs it as a component

This commit is contained in:
2023-09-25 23:03:55 +02:00
parent c5cca1c5aa
commit 9059a1f3d5
7 changed files with 19 additions and 9 deletions
@@ -60,7 +60,7 @@ public abstract class Fish {
TagResolver resolver = TagResolver.resolver(
Placeholder.component("player", player.name()),
Placeholder.parsed("length", String.format("%.2f", length)),
Placeholder.unparsed("rarity", getRarity().displayName())
Placeholder.component("rarity", getRarity().displayName())
);
itemMeta.lore(fishLore(resolver));