parent
740fab869e
commit
6c1e0da6b6
15 changed files with 144 additions and 97 deletions
|
@ -174,9 +174,7 @@ public class ChatManager {
|
|||
public void deleteChatRoom(ChatRoom chatRoom) {
|
||||
roomIdMap.remove(chatRoom.id);
|
||||
ChatRoomLoader.getFile(plugin, chatRoom.id).delete();
|
||||
chatRoom.players.forEach(player -> {
|
||||
setPlayerChatRoom(getById(defaultRoom), player);
|
||||
});
|
||||
chatRoom.players.forEach(player -> setPlayerChatRoom(getById(defaultRoom), player));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue