mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-15 07:01:36 +08:00
Remove vanilla command ambiguity warning
Needless support burden
This commit is contained in:
parent
0ddd67b0a9
commit
228a5cd59d
@ -23,9 +23,12 @@
|
|||||||
CommandAdvancement.a(this.b);
|
CommandAdvancement.a(this.b);
|
||||||
CommandExecute.a(this.b);
|
CommandExecute.a(this.b);
|
||||||
CommandBossBar.a(this.b);
|
CommandBossBar.a(this.b);
|
||||||
@@ -102,6 +111,11 @@
|
@@ -100,8 +109,13 @@
|
||||||
|
}
|
||||||
|
|
||||||
this.b.findAmbiguities((commandnode, commandnode1, commandnode2, collection) -> {
|
this.b.findAmbiguities((commandnode, commandnode1, commandnode2, collection) -> {
|
||||||
CommandDispatcher.a.warn("Ambiguity between arguments {} and {} with inputs: {}", this.b.getPath(commandnode1), this.b.getPath(commandnode2), collection);
|
- CommandDispatcher.a.warn("Ambiguity between arguments {} and {} with inputs: {}", this.b.getPath(commandnode1), this.b.getPath(commandnode2), collection);
|
||||||
|
+ // CommandDispatcher.a.warn("Ambiguity between arguments {} and {} with inputs: {}", this.b.getPath(commandnode1), this.b.getPath(commandnode2), collection); // CraftBukkit
|
||||||
});
|
});
|
||||||
+ return this;
|
+ return this;
|
||||||
+ }
|
+ }
|
||||||
|
Loading…
Reference in New Issue
Block a user