Gate optimized nameplate paths on reload-safe ClassicAPI
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user