diff --git a/CHANGES.txt b/CHANGES.txt index 52c49a1..7f4152a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,22 +1,12 @@ -lightweight tag b6b6e5a314c6cb56c537fe6b7fadad6236137884 1.2.3 +lightweight tag 303af9fa32bd39460c6f33dece77a5fb82b5e5f1 1.2.9 Author: GitHub -Date: Tue May 5 22:58:15 2020 -0700 +Date: Tue Jul 7 15:04:04 2020 -0700 -commit 989ce65d3276c2b0eac3819f7b9988c651de9ce7 -Author: Llamatron2112 -Date: Wed May 6 05:33:07 2020 +0200 +commit 303af9fa32bd39460c6f33dece77a5fb82b5e5f1 +Author: cdmichaelb +Date: Tue Jul 7 15:04:04 2020 -0700 - parsing french tooltips for duration fix + Update Outfitter.toc - I haven't tested cUseTooltipLineFormat and cUseDurationTooltipLineFormat2, but there should be spaces around the colon (and it's the case of several items I have which match cUseDurationTooltipLineFormat). - Also for cUseDurationTooltipLineFormat, french for "seconds" is "secondes", but I have only seen the short "sec." on my items. - -commit 989ce65d3276c2b0eac3819f7b9988c651de9ce7 -Author: Llamatron2112 -Date: Wed May 6 05:33:07 2020 +0200 - - parsing french tooltips for duration fix - - I haven't tested cUseTooltipLineFormat and cUseDurationTooltipLineFormat2, but there should be spaces around the colon (and it's the case of several items I have which match cUseDurationTooltipLineFormat). - Also for cUseDurationTooltipLineFormat, french for "seconds" is "secondes", but I have only seen the short "sec." on my items. + update toc diff --git a/Outfitter.lua b/Outfitter.lua index d87e2c3..e04c9ab 100644 --- a/Outfitter.lua +++ b/Outfitter.lua @@ -1167,6 +1167,9 @@ Outfitter.cShapeshiftIDInfo = { -- Rogue [1784] = {ID = "Stealth"}, + [1785] = {ID = "Stealth"}, + [1786] = {ID = "Stealth"}, + [1787] = {ID = "Stealth"} } function Outfitter:ToggleOutfitterFrame() @@ -4111,7 +4114,7 @@ function Outfitter:GetPlayerAuraStates() end while true do - local vName, _, vTexture, _, _, _, _, _, _, _, vSpellID = UnitBuff("player", vBuffIndex) + local vName, vTexture, _, _, _, _, _, _, _, vSpellID = UnitBuff("player", vBuffIndex) --local vName, _, vTexture, _, _, _, _, _, _, _, vSpellID = UnitBuff("player", vBuffIndex) if not vName then return self.AuraStates diff --git a/Outfitter.toc b/Outfitter.toc index abeba98..04617d5 100644 --- a/Outfitter.toc +++ b/Outfitter.toc @@ -1,7 +1,7 @@ ## Interface: 11305 ## Author: Restoshaman (Skeram) ## Title: Outfitter [Classic] -## Version: 1.2.9 +## Version: 1.3.0 ## Notes: Clothing and weapon management and automated equipment changes. Updated for classic by Miv(aka Restoshaman) of . ## OptionalDeps: ## RequiredDeps: diff --git a/OutfitterEquipment.lua b/OutfitterEquipment.lua index 2b964cd..dffbdc4 100644 --- a/OutfitterEquipment.lua +++ b/OutfitterEquipment.lua @@ -524,7 +524,12 @@ function Outfitter._EquipmentChanges:execute(emptyBagSlots, expectedInventoryCac -- Remove the item else - Outfitter:UnequipSlotID(equipmentChange.SlotID, emptyBagSlots, expectedInventoryCache) + --Outfitter:UnequipSlotID(equipmentChange.SlotID, emptyBagSlots, expectedInventoryCache) + if equipmentChange.SlotID ~= nil then + Outfitter:UnequipSlotID(equipmentChange.SlotID, emptyBagSlots, expectedInventoryCache) + else + Outfitter:UnequipSlotID(equipmentChange.FromLocation, emptyBagSlots, expectedInventoryCache) + end end end