From ac2be49d3516ad519d33ab8a4aafa7fc8389d816 Mon Sep 17 00:00:00 2001 From: HonorGoG Date: Sun, 27 Apr 2025 22:48:32 -0700 Subject: [PATCH] - TitanRepair : Logic fix to apply the aforementioned change ONLY to the Retail client. --- TitanRepair/TitanRepair.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/TitanRepair/TitanRepair.lua b/TitanRepair/TitanRepair.lua index 31ebf5b..351a859 100644 --- a/TitanRepair/TitanRepair.lua +++ b/TitanRepair/TitanRepair.lua @@ -91,14 +91,19 @@ local slots = { TR.guild_bank = true TR.wowversion = select(4, GetBuildInfo()) -if TR.wowversion < 20300 then +if TR.wowversion < 20300 then -- No guild bank TR.guild_bank = false - 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 +end +if TR.wowversion < 100000 then + -- Not retail + parse_item = + "|?c?f?f?(%x*)|?H?([^:]*):?(%d+):?(%d*):?(%d*):?(%d*):?(%d*):?(%d*):?(%-?%d*):?(%-?%d*):?(%d*):?(%d*)|?h?%[?([^%[%]]*)%]?|?h?|?r?" +else + -- Retail parse_item = "|?cnIQ?(%x*):|?H?([^:]*):?(%d+):?(%d*):?(%d*):?(%d*):?(%d*):?(%d*):?(%-?%d*):?(%-?%d*):?(%d*):?(%d*)|?h?%[?([^%[%]]*)%]?|?h?|?r?" end -- 1.7.9.5