mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-11 16:10:01 +00:00
fixed typos and cleaned up comments
This commit is contained in:
@@ -479,7 +479,7 @@ nameplates:RegisterEvent("ZONE_CHANGED_NEW_AREA")
|
||||
nameplates.OnAuraUpdate = function(self, guid)
|
||||
if not guid then return end
|
||||
|
||||
-- GUID is actual GUID (0xF13000...) from SuperWoW/Nampower events
|
||||
-- GUID is actual GUID (0xF13000...) from Nampower events
|
||||
local plate = guidRegistry[guid]
|
||||
if plate and plate.nameplate then
|
||||
-- Mark nameplate for aura update in next OnUpdate cycle
|
||||
|
||||
@@ -6,7 +6,7 @@ pfUI:RegisterModule("nampower", "vanilla", function ()
|
||||
-- Only load if Nampower is available
|
||||
if not GetNampowerVersion then return end
|
||||
|
||||
-- Safe wrapper for SuperWoW's GetSpellNameAndRankForId (may not be available)
|
||||
-- Safe wrapper for GetSpellNameAndRankForId (may not be available)
|
||||
local function SafeGetSpellNameAndRank(spellId)
|
||||
if not GetSpellNameAndRankForId then return nil, nil end
|
||||
local success, name, rank = pcall(GetSpellNameAndRankForId, spellId)
|
||||
|
||||
Reference in New Issue
Block a user