unrestrict nameplate units, we dont have restrictions with awesomewotlk

This commit is contained in:
NoM0Re
2024-07-01 17:16:03 +02:00
parent 55939acfe0
commit 60460fb912
6 changed files with 9 additions and 12 deletions
+2 -1
View File
@@ -995,7 +995,8 @@ local function MultiUnitLoop(Func, unit, includePets, ...)
Func(unit..i, ...)
end
elseif unit == "nameplate" then
for i = 1, 40 do
local max = C_NamePlate and C_NamePlate.GetNamePlates and #C_NamePlate.GetNamePlates or 40
for i = 1, max do
Func(unit..i, ...)
end
elseif unit == "group" then