diff --git a/SkilletNewsData.lua b/SkilletNewsData.lua index ee20c85..8cf8130 100644 --- a/SkilletNewsData.lua +++ b/SkilletNewsData.lua @@ -26,6 +26,15 @@ local isCata = WOW_PROJECT_ID == WOW_PROJECT_CATACLYSM_CLASSIC Skillet.NewsName = "Skillet-Classic News" Skillet.NewsData = { + { version = "1.91", + data = { + { name = "Changes", + data = { + { header = "Skill Levels", body = "Fix issue #173" }, + }, + }, + }, + }, { version = "1.90", data = { { name = "Changes", diff --git a/UI/MainFrame.lua b/UI/MainFrame.lua index e172917..b0d7c2f 100644 --- a/UI/MainFrame.lua +++ b/UI/MainFrame.lua @@ -1275,7 +1275,7 @@ function Skillet:UpdateTradeSkillWindow() -- show the count of the item currently owned that the recipe will produce -- if showOwned and self.currentPlayer == UnitName("player") then - local numowned = (self.db.realm.auctionData[self.currentPlayer][recipe.itemID] or 0) + GetItemCount(recipe.itemID,true) + local numowned = (self.db.realm.auctionData[self.currentPlayer][recipe.itemID] or 0) + GetItemCount(recipe.itemID or 0,true) if numowned > 0 then if numowned >= 1000 then numowned = "##"