Added sending of chat rooms for every enter room to avoid client errors

This commit is contained in:
Obique PSWG
2017-04-11 08:18:29 -05:00
parent 63cdb9d7dc
commit 69d25d9990
+2 -2
View File
@@ -142,8 +142,8 @@ public class ChatRoomHandler {
// Re-send the player the room list with just this room as it could have been public/hidden
// This also "refreshes" the client, not sending this will cause a Chat channel unavailable message.
if (!room.isPublic())
player.sendPacket(new ChatRoomList(room));
// if (!room.isPublic())
player.sendPacket(new ChatRoomList(room));
// Notify players of success, it's ChatResult.SUCCESS at this point
player.sendPacket(new ChatOnEnteredRoom(avatar, result, room.getId(), sequence));