From f3a259384c504982eac3c1cd0efe27c19569768d Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sun, 1 Oct 2023 19:45:39 +0700 Subject: [PATCH] exploit --- .../java/land/chipmunk/chipmunkmod/mixin/ChatScreenMixin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/land/chipmunk/chipmunkmod/mixin/ChatScreenMixin.java b/src/main/java/land/chipmunk/chipmunkmod/mixin/ChatScreenMixin.java index c10f7dd..2843296 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/mixin/ChatScreenMixin.java +++ b/src/main/java/land/chipmunk/chipmunkmod/mixin/ChatScreenMixin.java @@ -107,6 +107,8 @@ public class ChatScreenMixin extends Screen { final List aliases = new ArrayList<>(); for (ChomeNSBotCommand command : commands) { + if (command.trustLevel == ChomeNSBotCommand.TrustLevel.PUBLIC) continue; + aliases.addAll(command.aliases); }