aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java
diff options
context:
space:
mode:
authorCephetir <silyichev@gmail.com>2022-05-06 12:57:50 +0300
committerCephetir <silyichev@gmail.com>2022-05-06 12:57:50 +0300
commitdae58987b89bc01fa2828b5f4840a594f416f592 (patch)
tree5769e04c97490d694b1ba855aaac0cb4289a457c /src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java
parentb5002d403246d91b8276791c1d16847abbbadab9 (diff)
downloadChatting-dae58987b89bc01fa2828b5f4840a594f416f592.tar.gz
Chatting-dae58987b89bc01fa2828b5f4840a594f416f592.tar.bz2
Chatting-dae58987b89bc01fa2828b5f4840a594f416f592.zip
Clear button
Diffstat (limited to 'src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java')
-rw-r--r--src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java b/src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java
index e3edf95..1774f82 100644
--- a/src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java
+++ b/src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java
@@ -5,6 +5,7 @@ import cc.woverflow.chatting.chat.ChatShortcuts;
import cc.woverflow.chatting.chat.ChatTab;
import cc.woverflow.chatting.chat.ChatTabs;
import cc.woverflow.chatting.config.ChattingConfig;
+import cc.woverflow.chatting.gui.components.ClearButton;
import cc.woverflow.chatting.gui.components.ScreenshotButton;
import cc.woverflow.chatting.gui.components.SearchButton;
import cc.woverflow.chatting.hook.GuiNewChatHook;
@@ -51,6 +52,7 @@ public abstract class GuiChatMixin extends GuiScreen {
buttonList.add(searchButton);
}
buttonList.add(new ScreenshotButton());
+ buttonList.add(new ClearButton());
if (ChattingConfig.INSTANCE.getChatTabs()) {
for (ChatTab chatTab : ChatTabs.INSTANCE.getTabs()) {
buttonList.add(chatTab.getButton());