fixed typos and cleaned up comments

This commit is contained in:
Meow
2026-03-02 19:13:45 +01:00
parent 869b3e4ea3
commit 3922d9879e
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)