(fix/threat) unit "At Least One Enemy" due to missing "none" unit
in our game version
This commit is contained in:
@@ -76,9 +76,6 @@ local ConstructTest, ConstructFunction
|
||||
|
||||
local nameplateExists = {}
|
||||
|
||||
---@param unit UnitToken
|
||||
---@param smart? boolean
|
||||
---@return boolean unitExists
|
||||
function WeakAuras.UnitExistsFixed(unit, smart)
|
||||
if #unit > 9 and unit:sub(1, 9) == "nameplate" then
|
||||
return nameplateExists[unit]
|
||||
|
||||
Reference in New Issue
Block a user