mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-10-27 06:00:54 +00:00
fix: improve performance and safety with null checks and talent rank caching
This commit is contained in:
@@ -271,6 +271,7 @@ end
|
||||
|
||||
-- HealBot_FindUnitID: Finds a unit token for a given player name.
|
||||
function HealBot_FindUnitID(unitname)
|
||||
if not unitname then return nil end
|
||||
return HealBot_NameToUnitID[unitname]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user