Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Commit 9864e05

Browse files
committed
Update MultiBotInit.lua
1 parent a8dce0d commit 9864e05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Core/MultiBotInit.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6145,7 +6145,7 @@ if not MultiBot.InitHunterQuick then
61456145
local unit = "raid"..i
61466146
local name = UnitName(unit)
61476147
local _, cls = UnitClass(unit)
6148-
if name and cls=="HUNTER" and MultiBot.getBot and (MultiBot.getBot(name) ~= nil or MultiBot.getBot(unit) ~= nil) then
6148+
if name and cls == "HUNTER" and (not MultiBot.IsBot or MultiBot.IsBot(name)) then
61496149
table.insert(out, name)
61506150
end
61516151
end
@@ -6155,7 +6155,7 @@ if not MultiBot.InitHunterQuick then
61556155
local unit = "party"..i
61566156
local name = UnitName(unit)
61576157
local _, cls = UnitClass(unit)
6158-
if name and cls=="HUNTER" and MultiBot.getBot and (MultiBot.getBot(name) ~= nil or MultiBot.getBot(unit) ~= nil) then
6158+
if name and cls == "HUNTER" and (not MultiBot.IsBot or MultiBot.IsBot(name)) then
61596159
table.insert(out, name)
61606160
end
61616161
end

0 commit comments

Comments
 (0)