From 760f52df71f94c546c2e6562ad761458d15b7b63 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Thu, 5 Dec 2024 19:56:34 +0100 Subject: [PATCH] Fix default chat room --- src/main/java/eu/m724/tweaks/chat/ChatManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/m724/tweaks/chat/ChatManager.java b/src/main/java/eu/m724/tweaks/chat/ChatManager.java index 5a30e1a..99885f8 100644 --- a/src/main/java/eu/m724/tweaks/chat/ChatManager.java +++ b/src/main/java/eu/m724/tweaks/chat/ChatManager.java @@ -67,7 +67,7 @@ public class ChatManager { if (chatRoom == null) { if (id.equals(defaultRoom)) { - return new ChatRoom(defaultRoom, null, null); + chatRoom = new ChatRoom(defaultRoom, null, null); } else { chatRoom = ChatRoomLoader.load(plugin, id); }