We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd3c588 commit 58828b7Copy full SHA for 58828b7
src/Classes/ItemsTab.lua
@@ -49,6 +49,15 @@ local catalystQualityFormat = {
49
50
local flavourLookup = {}
51
52
+setmetatable(flavourLookup, {
53
+ __index = function(t, key)
54
+ if type(key) == "string" then
55
+ local normalized = key:gsub("%s%d+$", "")
56
+ return rawget(t, normalized)
57
+ end
58
59
+})
60
+
61
for _, entry in pairs(data.flavourText) do
62
if entry.name and entry.id and entry.text then
63
flavourLookup[entry.name] = flavourLookup[entry.name] or {}
0 commit comments