Baganator hook: UnifiedBags --> UnifiedViews
tflo opened this issue ยท 4 comments
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
The curse of (a) a fast-moving addon, and (b) me not having just ported this to use its API yet.
It's a little more complicated than just that -- d795dddea7bf0717587a29dc72ec1d159d13c713 changed the names of some frames, too.