Make "has left the chat room" sent to the correct channel
This commit is contained in:
parent
6183ccd6bf
commit
94f6b62a28
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public class ChatManager {
|
||||||
playerMap.put(player, chatRoom);
|
playerMap.put(player, chatRoom);
|
||||||
chatRoom.players.add(player);
|
chatRoom.players.add(player);
|
||||||
|
|
||||||
chatRoom.broadcast(
|
oldRoom.broadcast(
|
||||||
new ComponentBuilder()
|
new ComponentBuilder()
|
||||||
.append(ChatFormatUtils.chatRoomPrefixShort(chatRoom))
|
.append(ChatFormatUtils.chatRoomPrefixShort(chatRoom))
|
||||||
.append(ChatFormatUtils.formatPlayer(player))
|
.append(ChatFormatUtils.formatPlayer(player))
|
||||||
|
|
Loading…
Reference in a new issue