From f5de41f7c760b52956ecd5bbc7f8d6d8edd6c2e8 Mon Sep 17 00:00:00 2001 From: HonorGoG Date: Sun, 27 Apr 2025 01:15:15 -0700 Subject: [PATCH] - TitanRepair : Fix for color change in retail that breaks classic. Classic only. --- TitanRepair/TitanRepair.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TitanRepair/TitanRepair.lua b/TitanRepair/TitanRepair.lua index 1b30aef..c88788e 100644 --- a/TitanRepair/TitanRepair.lua +++ b/TitanRepair/TitanRepair.lua @@ -22,9 +22,6 @@ local AceTimer = LibStub("AceTimer-3.0") local TR_Timer = {} local TR_Timer_active = false -local parse_item = - "|?cnIQ?(%x*):|?H?([^:]*):?(%d+):?(%d*):?(%d*):?(%d*):?(%d*):?(%d*):?(%-?%d*):?(%-?%d*):?(%d*):?(%d*)|?h?%[?([^%[%]]*)%]?|?h?|?r?" - ---@diagnostic disable-next-line: deprecated local GetItem = C_Item.GetItemInfo or GetItemInfo -- For Classic versions ---@diagnostic disable-next-line: deprecated @@ -95,9 +92,13 @@ TR.wowversion = select(4, GetBuildInfo()) if TR.wowversion < 20300 then -- No guild bank TR.guild_bank = false + local parse_item = + "|?c?f?f?(%x*)|?H?([^:]*):?(%d+):?(%d*):?(%d*):?(%d*):?(%d*):?(%d*):?(%-?%d*):?(%-?%d*):?(%d*):?(%d*)|?h?%[?([^%[%]]*)%]?|?h?|?r?" else -- Guild bank exists TR.guild_bank = true + local parse_item = + "|?cnIQ?(%x*):|?H?([^:]*):?(%d+):?(%d*):?(%d*):?(%d*):?(%d*):?(%d*):?(%-?%d*):?(%-?%d*):?(%d*):?(%d*)|?h?%[?([^%[%]]*)%]?|?h?|?r?" end -- 1.7.9.5