mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-13 21:24:34 +01:00
yae openworld but dialogs aren't triggered
This commit is contained in:
@@ -95,6 +95,7 @@ namespace PemukulPaku.GameServer
|
||||
try
|
||||
{
|
||||
Send(Packet.FromProto(new KeepAliveNotify() { }, CmdId.KeepAliveNotify));
|
||||
LastServerKeepAlive = Global.GetUnixInSeconds();
|
||||
}
|
||||
catch
|
||||
{
|
||||
@@ -108,6 +109,9 @@ namespace PemukulPaku.GameServer
|
||||
|
||||
public void DisconnectProtocol()
|
||||
{
|
||||
if (Server.GetInstance().Sessions.GetValueOrDefault(Id) is null)
|
||||
return;
|
||||
|
||||
Player.SaveAll();
|
||||
c.Debug("Player data saved to database");
|
||||
c.Warn($"{Id} disconnected");
|
||||
|
||||
Reference in New Issue
Block a user