From 77d6cef53a129891cce4449d7b36fd29f992b584 Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Wed, 22 Jun 2022 21:28:45 -0500
Subject: Fix rarity showing as VERY_SPECIAL in item list

---
 src/lib/minecraft/Item.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/minecraft/Item.svelte')

diff --git a/src/lib/minecraft/Item.svelte b/src/lib/minecraft/Item.svelte
index cfcc219..42bc3ce 100644
--- a/src/lib/minecraft/Item.svelte
+++ b/src/lib/minecraft/Item.svelte
@@ -22,7 +22,7 @@
 					item.requirements.slayer.level
 				}`
 			)
-		extraLore.push(`§l§${TIER_COLORS[item.tier] ?? 'c'}${item.tier}`)
+		extraLore.push(`§l§${TIER_COLORS[item.tier] ?? 'c'}${item.tier.replace(/_/g, ' ')}`)
 	}
 	if (item?.id) {
 		extraLore.push(`\n§8ID: ${item.id}`)
-- 
cgit 

