From fe00a77ac816fe3e317f0b07ee9be7aaae13d639 Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 18 Dec 2013 17:24:24 +1100 Subject: [PATCH] Invert command complete check --- .../0038-Allow-Disabling-of-Command-TabComplete.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0038-Allow-Disabling-of-Command-TabComplete.patch b/CraftBukkit-Patches/0038-Allow-Disabling-of-Command-TabComplete.patch index 277e333af..70a3ad427 100644 --- a/CraftBukkit-Patches/0038-Allow-Disabling-of-Command-TabComplete.patch +++ b/CraftBukkit-Patches/0038-Allow-Disabling-of-Command-TabComplete.patch @@ -1,11 +1,11 @@ -From 9257663bcbcb86a961a7560ae825893adef4f025 Mon Sep 17 00:00:00 2001 +From 13be8ff0ff998aff7a3e9d2502ae61cd82e7a8b1 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 11f018b..c71ce7c 100644 +index 11f018b..04939af 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -1396,6 +1396,13 @@ public final class CraftServer implements Server { @@ -13,7 +13,7 @@ index 11f018b..c71ce7c 100644 public List tabCompleteCommand(Player player, String message) { + // Spigot Start -+ if ( org.spigotmc.SpigotConfig.tabComplete ) ++ if ( !org.spigotmc.SpigotConfig.tabComplete ) + { + return ImmutableList.of(); + }