fix pfui loading objects without superwow

This commit is contained in:
Jrc13245
2026-03-03 11:10:55 -05:00
parent c8fce0e6db
commit 9c05a6fc6a
4 changed files with 79 additions and 32 deletions
+9
View File
@@ -671,6 +671,15 @@ function Extension.ADDON_LOADED()
end
function Extension.PLAYER_LOGIN()
-- If pfUI loaded before SCRM (alphabetical order), ADDON_LOADED for pfUI was missed.
-- Re-run InitPfUIIntegration here to ensure lib.objects is linked correctly.
if pfUI and not CleveRoids.hasPfUI76 then
local lib = CleveRoids.libdebuff
if lib and lib.InitPfUIIntegration then
lib:InitPfUIIntegration()
end
end
-- Final check after everything is loaded
Extension.SetupCompatibility()