From bb86b1b555b30d34e79123470eb0e58524627950 Mon Sep 17 00:00:00 2001 From: Intelli Date: Fri, 11 Apr 2025 17:18:04 -0600 Subject: [PATCH] Fixed users such as #tnt being incorrectly parsed --- .../java/net/coreprotect/command/parser/UserParser.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/java/net/coreprotect/command/parser/UserParser.java b/src/main/java/net/coreprotect/command/parser/UserParser.java index cb1a2df..b77da27 100644 --- a/src/main/java/net/coreprotect/command/parser/UserParser.java +++ b/src/main/java/net/coreprotect/command/parser/UserParser.java @@ -128,14 +128,6 @@ public class UserParser { next = 0; } } - // Handle u:#player format for excluded users - else if (argument.startsWith("u:#")) { - String username = argument.substring(3); // Remove the 'u:#' prefix - if (!username.isEmpty()) { - excluded.add(username); - } - next = 0; - } else { next = 0; }