From f5cd5989a4831ff47c6a4e13aba457ebe58f8422 Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Sun, 15 Dec 2024 22:54:44 +0100 Subject: [PATCH] add an manual AT to CommandNode for now --- .../com/mojang/brigadier/tree/CommandNode.java.patch | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/paper-server/patches/sources/com/mojang/brigadier/tree/CommandNode.java.patch b/paper-server/patches/sources/com/mojang/brigadier/tree/CommandNode.java.patch index 1431fc6d44..b8df0ccf0b 100644 --- a/paper-server/patches/sources/com/mojang/brigadier/tree/CommandNode.java.patch +++ b/paper-server/patches/sources/com/mojang/brigadier/tree/CommandNode.java.patch @@ -1,6 +1,12 @@ --- a/com/mojang/brigadier/tree/CommandNode.java +++ b/com/mojang/brigadier/tree/CommandNode.java -@@ -32,6 +_,16 @@ +@@ -27,11 +_,21 @@ + private final Map> children = new LinkedHashMap<>(); + private final Map> literals = new LinkedHashMap<>(); + private final Map> arguments = new LinkedHashMap<>(); +- private final Predicate requirement; ++ public final Predicate requirement; // Paper + private final CommandNode redirect; private final RedirectModifier modifier; private final boolean forks; private Command command;