File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 31
31
32
32
local Module = Bagnon :NewModule (Addon , Private )
33
33
34
- local Cache = LibStub (" LibItemCache-2.0" )
34
+ local Cache = LibStub (" LibItemCache-2.0" , true )
35
35
local Container = LibStub (" C_Everywhere" ).Container
36
36
37
37
-- Lua API
@@ -103,7 +103,9 @@ Module:AddUpdater(function(self)
103
103
-- Update the bagnon cache
104
104
if (not level and not self .info .link ) then
105
105
self .info .link = Container .GetContainerItemLink (self :GetBag (), self :GetID ())
106
- self .info = Cache :RestoreItemData (self .info )
106
+ if (Cache ) then
107
+ self .info = Cache :RestoreItemData (self .info )
108
+ end
107
109
level = self .info .level
108
110
end
109
111
message = level
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
6
6
7
+ ## [ 2.0.97-Release] 2024-09-02
8
+ ### Fixed
9
+ - Fixed a bug related to using the deprecated library LibItemCache-2.0.
10
+
7
11
## [ 2.0.96-Release] 2024-08-18
8
12
- Updated for WoW Retail Client Patch 11.0.2.
9
13
You can’t perform that action at this time.
0 commit comments