Fix rarity for everything that needs it as a component

This commit is contained in:
auto committed 2023-09-25 23:03:55 +02:00
1 parent c5cca1c5aa
commit 9059a1f3d5
7 files changed
+19 -9

No files matched your search

@@ -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));