Fix bug where socials are always muted

This commit is contained in:
SilicaAndPina 2021-03-27 22:17:45 +13:00
parent 679b6efac8
commit b8242010ad
2 changed files with 2 additions and 5 deletions

View file

@ -582,7 +582,7 @@ namespace HISP.Server
if (sender.LoggedinUser.SocializingWith != null)
{
if (!sender.LoggedinUser.SocializingWith.MuteAll && !sender.LoggedinUser.SocializingWith.MuteSocials)
if (sender.LoggedinUser.SocializingWith.MuteAll || sender.LoggedinUser.SocializingWith.MuteSocials)
{
byte[] cantSocialize = PacketBuilder.CreateChat(Messages.PlayerIgnoringAllSocials, PacketBuilder.CHAT_BOTTOM_RIGHT);
sender.SendPacket(cantSocialize);