Simple Item Levels

Simple Item Levels

2M Downloads

Baganator hook: UnifiedBags --> UnifiedViews

tflo opened this issue ยท 4 comments

commented

As of Baganator 173-7-g1e5deb6 it's UnifiedViews:

diff --git a/SimpleItemLevel/addon.lua b/SimpleItemLevel/addon.lua
--- a/SimpleItemLevel/addon.lua
+++ b/SimpleItemLevel/addon.lua
@@ -677,5 +677,5 @@
     if Baganator_MainViewFrame then
         baganator_hookmain()
-    elseif Baganator and Baganator.UnifiedBags.Initialize then
-        hooksecurefunc(Baganator.UnifiedBags, "Initialize", baganator_hookmain)
+    elseif Baganator and Baganator.UnifiedViews.Initialize then
+        hooksecurefunc(Baganator.UnifiedViews, "Initialize", baganator_hookmain)
     end
commented

The curse of (a) a fast-moving addon, and (b) me not having just ported this to use its API yet.

commented

Maybe even more; since my post he released two more versions it seems.

commented

It's a little more complicated than just that -- d795dddea7bf0717587a29dc72ec1d159d13c713 changed the names of some frames, too.

commented

Anyway, I have a basic fix right now. It has an issue with the reagent bank, but I'll look at that in more detail later.