mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
changed a comment of the early return check
This commit is contained in:
@@ -3402,7 +3402,7 @@ bool PlayerbotAI::CastSpell(uint32 spellId, Unit* target, Item* itemTarget)
|
||||
return false;
|
||||
}
|
||||
|
||||
// early bot/target world-state check before spell creationg a spell, after pet
|
||||
// early return; bot/target world-state check
|
||||
if (!bot->IsInWorld() || bot->IsDuringRemoveFromWorld() ||
|
||||
(target && (!target->IsInWorld() || target->IsDuringRemoveFromWorld())))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user