LS kicking and leaving work.

This commit is contained in:
Filip Maj committed 2017-01-09 00:12:11 -05:00
1 parent 61e4effd74
commit 771b5b6d81
7 files changed
+139 -16

No files matched your search

+7 -1
View File
@@ -698,7 +698,13 @@ namespace FFXIVClassic_Map_Server
public void RequestWorldLinkshellLeave(Player player, string lsname)
{
SubPacket packet = LinkshellLeavePacket.BuildPacket(player.playerSession, lsname, false);
SubPacket packet = LinkshellLeavePacket.BuildPacket(player.playerSession, lsname, null, false);
Server.GetWorldConnection().QueuePacket(packet, true, false);
}
public void RequestWorldLinkshellKick(Player player, string lsname, string kickedName)
{
SubPacket packet = LinkshellLeavePacket.BuildPacket(player.playerSession, lsname, kickedName, true);
Server.GetWorldConnection().QueuePacket(packet, true, false);
}