group message (#1987)

This commit is contained in:
KayenEQ
2022-02-10 23:55:59 -05:00
committed by GitHub
parent fdd260d5fa
commit db988e4261
3 changed files with 9 additions and 0 deletions
+7
View File
@@ -6960,6 +6960,13 @@ void Client::Handle_OP_GroupInvite2(const EQApplicationPacket *app)
Invitee->CastToClient()->QueuePacket(app);
}
}
else {
if (RuleB(Character, OnInviteReceiveAlreadyinGroupMessage)) {
if (!Invitee->CastToClient()->MercOnlyOrNoGroup()) {
Message(Chat::LightGray, "%s is already in another group.", Invitee->GetCleanName());
}
}
}
}
#ifdef BOTS
else if (Invitee->IsBot()) {