Skip to content

Commit

Permalink
2.0.97-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldpaw committed Sep 2, 2024
1 parent a481fd2 commit 5618f36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Bagnon_ItemLevel/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end

local Module = Bagnon:NewModule(Addon, Private)

local Cache = LibStub("LibItemCache-2.0")
local Cache = LibStub("LibItemCache-2.0", true)
local Container = LibStub("C_Everywhere").Container

-- Lua API
Expand Down Expand Up @@ -103,7 +103,9 @@ Module:AddUpdater(function(self)
-- Update the bagnon cache
if (not level and not self.info.link) then
self.info.link = Container.GetContainerItemLink(self:GetBag(), self:GetID())
self.info = Cache:RestoreItemData(self.info)
if (Cache) then
self.info = Cache:RestoreItemData(self.info)
end
level = self.info.level
end
message = level
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.0.97-Release] 2024-09-02
### Fixed
- Fixed a bug related to using the deprecated library LibItemCache-2.0.

## [2.0.96-Release] 2024-08-18
- Updated for WoW Retail Client Patch 11.0.2.

Expand Down

0 comments on commit 5618f36

Please sign in to comment.