mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
add an manual AT to CommandNode for now
This commit is contained in:
parent
8f1dcdd0b7
commit
f5cd5989a4
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,12 @@
|
||||||
--- a/com/mojang/brigadier/tree/CommandNode.java
|
--- a/com/mojang/brigadier/tree/CommandNode.java
|
||||||
+++ b/com/mojang/brigadier/tree/CommandNode.java
|
+++ b/com/mojang/brigadier/tree/CommandNode.java
|
||||||
@@ -32,6 +_,16 @@
|
@@ -27,11 +_,21 @@
|
||||||
|
private final Map<String, CommandNode<S>> children = new LinkedHashMap<>();
|
||||||
|
private final Map<String, LiteralCommandNode<S>> literals = new LinkedHashMap<>();
|
||||||
|
private final Map<String, ArgumentCommandNode<S, ?>> arguments = new LinkedHashMap<>();
|
||||||
|
- private final Predicate<S> requirement;
|
||||||
|
+ public final Predicate<S> requirement; // Paper
|
||||||
|
private final CommandNode<S> redirect;
|
||||||
private final RedirectModifier<S> modifier;
|
private final RedirectModifier<S> modifier;
|
||||||
private final boolean forks;
|
private final boolean forks;
|
||||||
private Command<S> command;
|
private Command<S> command;
|
||||||
|
|
Loading…
Reference in a new issue