Missing IsInGroupOrRaid cleanup

This commit is contained in:
nytmyr
2024-12-22 00:35:29 -06:00
parent 39b1f57ef3
commit 998f34842b
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -506,7 +506,7 @@ void bot_command_cast(Client* c, const Seperator* sep)
if (
IsBotSpellTypeBeneficial(spellType) &&
!RuleB(Bots, CrossRaidBuffingAndHealing) &&
!bot_iter->IsInGroupOrRaid(newTar, nullptr, true)
!bot_iter->IsInGroupOrRaid(newTar, true)
) {
continue;
}
+1 -1
View File
@@ -164,7 +164,7 @@ void bot_command_depart(Client* c, const Seperator* sep)
std::map<std::string, std::pair<uint8_t, uint8_t>> listZones;
for (auto bot_iter : sbl) {
if (!bot_iter->IsInGroupOrRaid(tar, nullptr, !single)) {
if (!bot_iter->IsInGroupOrRaid(tar, !single)) {
continue;
}