diff --git a/CraftBukkit-Patches/0037-Allow-Disabling-of-Command-TabComplete.patch b/CraftBukkit-Patches/0037-Allow-Disabling-of-Command-TabComplete.patch index bee90ccaca..32182ff406 100644 --- a/CraftBukkit-Patches/0037-Allow-Disabling-of-Command-TabComplete.patch +++ b/CraftBukkit-Patches/0037-Allow-Disabling-of-Command-TabComplete.patch @@ -1,11 +1,11 @@ -From 6aa34bd1ad851735520b469695f03a1994a7c2be Mon Sep 17 00:00:00 2001 +From 70929539b9364e87555da91424d189d0e70949d2 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 21 Jun 2013 18:05:54 +1000 Subject: [PATCH] Allow Disabling of Command TabComplete diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -index 6a38465..4d77259 100644 +index 6a38465..0633516 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -1398,6 +1398,13 @@ public final class CraftServer implements Server { @@ -13,7 +13,7 @@ index 6a38465..4d77259 100644 public List tabCompleteCommand(Player player, String message) { + // Spigot Start -+ if ( !org.spigotmc.SpigotConfig.tabComplete ) ++ if ( !org.spigotmc.SpigotConfig.tabComplete && !message.contains( " " ) ) + { + return ImmutableList.of(); + }