mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-22 13:06:23 +00:00
Fix GetGuidValue crash
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
bool NeedCureTrigger::IsActive()
|
||||
{
|
||||
Unit* target = GetTarget();
|
||||
return target && botAI->HasAuraToDispel(target, dispelType);
|
||||
return target && target->IsInWorld() && botAI->HasAuraToDispel(target, dispelType);
|
||||
}
|
||||
|
||||
Value<Unit*>* PartyMemberNeedCureTrigger::GetTargetValue()
|
||||
|
||||
Reference in New Issue
Block a user