summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-09-07 20:51:57 +1000
committermd_5 <git@md-5.net>2018-09-07 20:51:57 +1000
commit228a5cd59d11e7bbed6b30781d4b6f2e68a9b3a0 (patch)
tree882cb7ee587b04c30c22bd4d2507b4e4c50620d6
parent0ddd67b0a9a88f1032929c3e9a42215468199a93 (diff)
downloadcraftbukkit-228a5cd59d11e7bbed6b30781d4b6f2e68a9b3a0.tar
craftbukkit-228a5cd59d11e7bbed6b30781d4b6f2e68a9b3a0.tar.gz
craftbukkit-228a5cd59d11e7bbed6b30781d4b6f2e68a9b3a0.tar.lz
craftbukkit-228a5cd59d11e7bbed6b30781d4b6f2e68a9b3a0.tar.xz
craftbukkit-228a5cd59d11e7bbed6b30781d4b6f2e68a9b3a0.zip
Remove vanilla command ambiguity warning
Needless support burden
-rw-r--r--nms-patches/CommandDispatcher.patch7
1 files changed, 5 insertions, 2 deletions
diff --git a/nms-patches/CommandDispatcher.patch b/nms-patches/CommandDispatcher.patch
index 5939296b..2d4a01d3 100644
--- a/nms-patches/CommandDispatcher.patch
+++ b/nms-patches/CommandDispatcher.patch
@@ -23,9 +23,12 @@
CommandAdvancement.a(this.b);
CommandExecute.a(this.b);
CommandBossBar.a(this.b);
-@@ -102,6 +111,11 @@
+@@ -100,8 +109,13 @@
+ }
+
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;
+ }