Skip to content

Commit

Permalink
2.2.84-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldpaw committed Sep 2, 2024
1 parent c3b7005 commit 05765e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Bagnon_ItemInfo/Modules/ItemLevel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
local Addon, Private = ...
local Module = Bagnon:NewModule("Bagnon_ItemLevel")

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

local cache = {}
Expand Down Expand Up @@ -100,7 +100,9 @@ Private.AddUpdater(Module, 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.2.84-Release] 2024-09-02
### Fixed
- Fixed a bug related to using the deprecated library LibItemCache-2.0.

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

Expand Down

0 comments on commit 05765e2

Please sign in to comment.