Archiviert
13
0
Dieses Repository wurde am 2021-12-14 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
SteamSpigot/Paper/SteamWar-Patches/0559-Dont-search-disambiguities-paper.patch

25 Zeilen
1.1 KiB
Diff

2021-04-14 17:34:29 +02:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Zeanon <thezeanon@gmail.com>
Date: Wed, 14 Apr 2021 16:15:10 +0200
Subject: [PATCH] Dont search disambiguities paper
2020-12-27 21:25:08 +01:00
diff --git a/src/main/java/net/minecraft/server/CommandDispatcher.java b/src/main/java/net/minecraft/server/CommandDispatcher.java
2021-04-14 17:34:29 +02:00
index 2d512aa4f9ab74dfadff748ba6dd72631eda9fe5..7c988a12d6dc40f21c02cb47928253a4434876e7 100644
--- a/src/main/java/net/minecraft/server/CommandDispatcher.java
+++ b/src/main/java/net/minecraft/server/CommandDispatcher.java
@@ -108,9 +108,11 @@ public class CommandDispatcher {
2020-12-27 21:25:08 +01:00
CommandWhitelist.a(this.b);
}
- this.b.findAmbiguities((commandnode, commandnode1, commandnode2, collection) -> {
2021-04-12 19:54:42 +02:00
+ //Steamwar Start
+ /*this.b.findAmbiguities((commandnode, commandnode1, commandnode2, collection) -> {
// CommandDispatcher.LOGGER.warn("Ambiguity between arguments {} and {} with inputs: {}", this.b.getPath(commandnode1), this.b.getPath(commandnode2), collection); // CraftBukkit
2020-12-27 21:25:08 +01:00
- });
2021-04-12 19:54:42 +02:00
+ });*/
+ //Steamwar end
2020-12-27 21:25:08 +01:00
return this;
}