mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00: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