fix mail count

This commit is contained in:
SilicaAndPina 2021-06-28 02:14:50 +12:00
parent e5fa0caccd
commit 6ff3d91135
2 changed files with 6 additions and 3 deletions

View file

@ -7535,7 +7535,7 @@ namespace HISP.Server
Logger.ErrorPrint(forClient.RemoteIp + "tried to update player information when not logged in.");
return;
}
byte[] PlayerData = PacketBuilder.CreatePlayerData(forClient.LoggedinUser.Money, GameServer.GetNumberOfPlayers(), forClient.LoggedinUser.MailBox.MailCount);
byte[] PlayerData = PacketBuilder.CreatePlayerData(forClient.LoggedinUser.Money, GameServer.GetNumberOfPlayers(), forClient.LoggedinUser.MailBox.UnreadMailCount);
forClient.SendPacket(PlayerData);
}
public static void UpdateUserFacingAndLocation(User user)