mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Forgot to commit TradeOfferCommand changes. Added removing the active ls if you are kicked/retired.
This commit is contained in:
@@ -222,6 +222,14 @@ namespace FFXIVClassic_World_Server.DataObjects.Group
|
||||
SendGroupPacketsAll(GetMemberIds());
|
||||
ResendWorkValues();
|
||||
|
||||
//If active, remove it
|
||||
if (requestSession.activeLinkshellName.Equals(name))
|
||||
{
|
||||
SubPacket activeLsPacket = SetActiveLinkshellPacket.BuildPacket(requestSession.sessionId, 0);
|
||||
requestSession.clientConnection.QueuePacket(activeLsPacket);
|
||||
requestSession.SetActiveLS("");
|
||||
}
|
||||
|
||||
//Delete group for kicked guy
|
||||
SendDeletePacket(requestSession);
|
||||
}
|
||||
@@ -260,6 +268,14 @@ namespace FFXIVClassic_World_Server.DataObjects.Group
|
||||
SendGroupPacketsAll(GetMemberIds());
|
||||
ResendWorkValues();
|
||||
|
||||
//If active, remove it
|
||||
if (requestSession.activeLinkshellName.Equals(name))
|
||||
{
|
||||
SubPacket activeLsPacket = SetActiveLinkshellPacket.BuildPacket(requestSession.sessionId, 0);
|
||||
requestSession.clientConnection.QueuePacket(activeLsPacket);
|
||||
requestSession.SetActiveLS("");
|
||||
}
|
||||
|
||||
//Delete group for kicked guy
|
||||
SendDeletePacket(kickedSession);
|
||||
|
||||
|
Reference in New Issue
Block a user