mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-18 19:02:29 +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;
|
||||
}
|
||||
|
||||
if (c->GetFeigned()) {
|
||||
c->Message(Chat::White, "You cannot spawn a bot-group while feigned.");
|
||||
return;
|
||||
}
|
||||
|
||||
auto* owner_group = c->GetGroup();
|
||||
if (owner_group) {
|
||||
std::list<Client*> member_list;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user