Skip to content

Commit b97cab8

Browse files
committed
Fix Catalyst Charges for 11.1
1 parent 036c32b commit b97cab8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/currencies.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,15 +644,15 @@ local function CurrencyTransferUpdate(charInfo)
644644
end
645645

646646
local function UpdateCatalystCharges(charInfo)
647-
if not charInfo.currencyInfo or not charInfo.currencyInfo[2813] then
647+
if not charInfo.currencyInfo or not charInfo.currencyInfo[3116] then
648648
UpdateAllCurrencies(charInfo)
649649
end
650650

651-
charInfo.currencyInfo[2813].quantity = C_CurrencyInfo.GetCurrencyInfo(2813).quantity
651+
charInfo.currencyInfo[3116].quantity = C_CurrencyInfo.GetCurrencyInfo(3116).quantity
652652
end
653653

654654
local function CreateCatalystChargeString(currencyInfo)
655-
local catalystCharges = currencyInfo and currencyInfo[2813]
655+
local catalystCharges = currencyInfo and currencyInfo[3116]
656656
if not catalystCharges then return '-' end
657657

658658
return PermoksAccountManager:CreateFractionString(catalystCharges.quantity, catalystCharges.maxQuantity)

0 commit comments

Comments
 (0)