mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
Merge pull request #612 from EricksOliveira/patch-4
Fix Bug Bot blocked in PT
This commit is contained in:
commit
742199b1de
@ -31,6 +31,8 @@ bool PartyCommandAction::Execute(Event event)
|
|||||||
if (master && member == master->GetName())
|
if (master && member == master->GetName())
|
||||||
return Leave(bot);
|
return Leave(bot);
|
||||||
|
|
||||||
|
botAI->Reset();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -63,6 +65,8 @@ bool UninviteAction::Execute(Event event)
|
|||||||
return Leave(bot);
|
return Leave(bot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
botAI->Reset();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -161,5 +165,7 @@ bool LeaveFarAwayAction::isUseful()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
botAI->Reset();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user