Remove vanilla command ambiguity warning

Needless support burden
This commit is contained in:
md_5 2018-09-07 20:51:57 +10:00
parent 0ddd67b0a9
commit 228a5cd59d

View file

@ -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;
+ } + }