- TitanRepair : Logic fix to apply the aforementioned change ONLY to the Retail client.
HonorGoG [04-28-25 - 05:48]
- TitanRepair : Logic fix to apply the aforementioned change ONLY to the Retail client.
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