mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-13 10:52:28 +00:00
[Bot] Restrict Bot Groups from spawning while Feigned. (#2761)
This commit is contained in:
parent
d93ea9ed86
commit
090019cf83
@ -7798,6 +7798,11 @@ void bot_subcommand_botgroup_load(Client *c, const Seperator *sep)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (c->GetFeigned()) {
|
||||||
|
c->Message(Chat::White, "You cannot spawn a bot-group while feigned.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
auto* owner_group = c->GetGroup();
|
auto* owner_group = c->GetGroup();
|
||||||
if (owner_group) {
|
if (owner_group) {
|
||||||
std::list<Client*> member_list;
|
std::list<Client*> member_list;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user