Activate libnameplate only after consumers register

This commit is contained in:
2026-09-02 22:36:55 +02:00
parent 21f9fddd37
commit eb6f4b5fe2
+7
View File
@@ -84,6 +84,13 @@ ShaguTweaks:SetScript("OnEvent", function()
mod:enable()
end
end
-- Libraries that can stay dormant until a module actually consumes them
-- get one final activation pass after every enabled module has registered
-- its callbacks.
if ShaguTweaks.libnameplate and ShaguTweaks.libnameplate.EnableIfNeeded then
ShaguTweaks.libnameplate:EnableIfNeeded()
end
end)
ShaguTweaks.register = function(self, mod)