Gate optimized nameplate paths on reload-safe ClassicAPI

This commit is contained in:
Dusk-92
2026-09-03 16:05:06 +02:00
parent 79c5f2755b
commit 6702c9168a
5 changed files with 19 additions and 11 deletions
+1 -2
View File
@@ -100,8 +100,7 @@ local function ScheduleDiscovery()
end
local function HasClassicNameplateEvents()
return API and API.nameplates and API.eventutils and _G.C_EventUtils
and _G.C_EventUtils.IsEventValid("NAME_PLATE_UNIT_ADDED")
return API and API.nameplateevents
end
function libnameplate:HasConsumers()