From bb86bf80c7af94d7eedd86d7cfcb9407670f0eae Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Wed, 23 Oct 2024 07:50:29 +0700 Subject: [PATCH] stop exploit leaks or simply long commands --- src/main/java/me/chayapak1/chomens_bot/plugins/ChatPlugin.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/ChatPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/ChatPlugin.java index 43fcd6c..4b0d6f5 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/ChatPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/ChatPlugin.java @@ -81,7 +81,8 @@ public class ChatPlugin extends Bot.Listener { if ( key.equals("advMode.setCommand.success") || - key.equals("advMode.notAllowed") + key.equals("advMode.notAllowed") || + key.equals("multiplayer.message_not_delivered") ) return; }