diff options
Diffstat (limited to 'patches/server/0956-Brigadier-based-command-API.patch')
-rw-r--r-- | patches/server/0956-Brigadier-based-command-API.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/server/0956-Brigadier-based-command-API.patch b/patches/server/0956-Brigadier-based-command-API.patch index a29a06bfc2..966239124f 100644 --- a/patches/server/0956-Brigadier-based-command-API.patch +++ b/patches/server/0956-Brigadier-based-command-API.patch @@ -2376,7 +2376,7 @@ index c4ffa8519b520e0793af90e149518951d7ffb65b..688916c8fef40d4c81379ad38609a979 // CraftBukkit end diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -index 6136037d3d096300d93b9710dd854224b30e0738..694eacb7d3ffd28fe7684139554113e58be1ebfa 100644 +index b8c2df77ee339c0f711eb767c00cd262c0b84ff3..91ede397a5de5582fcff9d18d1d1b2be9f0909cf 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -275,11 +275,11 @@ public final class CraftServer implements Server { @@ -2559,10 +2559,10 @@ index 4b1ac1fe7ea07f419ae2818251900e7ba434ee16..90ed57a7fbcd0625b64084347460e986 public Map<String, Command> getKnownCommands() { diff --git a/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java b/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java -index a35e2d2f53e8308d51e5a07b34c56d05a707bc14..945878e989f136ac516eb1c539c0626547c465fb 100644 +index 4d4a1ac9d75908bbd105a1e5756d2c0932b2d238..7b9f95802071e009412c4a3e6427e34f0b4d468c 100644 --- a/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java +++ b/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java -@@ -23,14 +23,26 @@ import org.bukkit.craftbukkit.entity.CraftEntity; +@@ -24,14 +24,26 @@ import org.bukkit.craftbukkit.entity.CraftEntity; import org.bukkit.craftbukkit.entity.CraftMinecartCommand; import org.bukkit.entity.minecart.CommandMinecart; @@ -2592,7 +2592,7 @@ index a35e2d2f53e8308d51e5a07b34c56d05a707bc14..945878e989f136ac516eb1c539c06265 this.vanillaCommand = vanillaCommand; this.setPermission(VanillaCommandWrapper.getPermission(vanillaCommand)); } -@@ -40,7 +52,7 @@ public final class VanillaCommandWrapper extends BukkitCommand { +@@ -41,7 +53,7 @@ public final class VanillaCommandWrapper extends BukkitCommand { if (!this.testPermission(sender)) return true; CommandSourceStack icommandlistener = VanillaCommandWrapper.getListener(sender); @@ -2601,7 +2601,7 @@ index a35e2d2f53e8308d51e5a07b34c56d05a707bc14..945878e989f136ac516eb1c539c06265 return true; } -@@ -51,10 +63,10 @@ public final class VanillaCommandWrapper extends BukkitCommand { +@@ -52,10 +64,10 @@ public final class VanillaCommandWrapper extends BukkitCommand { Preconditions.checkArgument(alias != null, "Alias cannot be null"); CommandSourceStack icommandlistener = VanillaCommandWrapper.getListener(sender); @@ -2614,7 +2614,7 @@ index a35e2d2f53e8308d51e5a07b34c56d05a707bc14..945878e989f136ac516eb1c539c06265 suggestions.getList().forEach((s) -> results.add(s.getText())); }); -@@ -111,4 +123,15 @@ public final class VanillaCommandWrapper extends BukkitCommand { +@@ -116,4 +128,15 @@ public final class VanillaCommandWrapper extends BukkitCommand { private String toDispatcher(String[] args, String name) { return name + ((args.length > 0) ? " " + Joiner.on(' ').join(args) : ""); } |