fix: resolve raid class coloring, identity cache, and player range detection issues

This commit is contained in:
Bluewhale1337
2026-10-14 17:55:30 +02:00
parent d949b7489a
commit aea1f734ca
6 changed files with 118 additions and 21 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ function HealBot_Range_Check(unit, range)
return _rangeCache[range][unit]
end
if ( unit == "player" or string.find(unit, "^Test") ) then
if ( unit and (unit == "player" or UnitIsUnit(unit, "player") or string.find(unit, "^Test")) ) then
return_val = 1;
elseif HealBot_Integrations_ClassicAPI_Active and UnitDistanceSquared and UnitInLineOfSight then
local inSight = UnitInLineOfSight("player", unit)