aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorZach Brown <[email protected]>2016-02-15 20:10:47 -0600
committerZach Brown <[email protected]>2016-02-15 20:10:47 -0600
commit2eb853b0affc164390b9f8bdf6c9dde51f0bcadd (patch)
treeb68536efa0bdefdece95b32fc1e61cd36165c5f6
parent9c166f741dc7044e5e3097ba34acbf7b56c93078 (diff)
downloadPaper-2eb853b0affc164390b9f8bdf6c9dde51f0bcadd.tar.gz
Paper-2eb853b0affc164390b9f8bdf6c9dde51f0bcadd.zip
There wasn't anything here
http://i.imgur.com/AxtzziK.gif
-rw-r--r--Spigot-API-Patches/0015-Add-Location-support-to-tab-completers-vanilla-featu.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/Spigot-API-Patches/0015-Add-Location-support-to-tab-completers-vanilla-featu.patch b/Spigot-API-Patches/0015-Add-Location-support-to-tab-completers-vanilla-featu.patch
index 18cdb659eb..239c782119 100644
--- a/Spigot-API-Patches/0015-Add-Location-support-to-tab-completers-vanilla-featu.patch
+++ b/Spigot-API-Patches/0015-Add-Location-support-to-tab-completers-vanilla-featu.patch
@@ -1,4 +1,4 @@
-From 5866613ee6d1fdcdf75c97983d6f28e6cf1e2342 Mon Sep 17 00:00:00 2001
+From c2382d5656ff7e3c1b42ecc8cec1278b60b366d9 Mon Sep 17 00:00:00 2001
From: DemonWav <[email protected]>
Date: Sat, 30 Jan 2016 18:58:09 -0600
Subject: [PATCH] Add Location support to tab completers (vanilla feature
@@ -6,7 +6,7 @@ Subject: [PATCH] Add Location support to tab completers (vanilla feature
diff --git a/src/main/java/org/bukkit/command/Command.java b/src/main/java/org/bukkit/command/Command.java
-index 548d570..3d0c5a5 100644
+index 548d570..c126a1e 100644
--- a/src/main/java/org/bukkit/command/Command.java
+++ b/src/main/java/org/bukkit/command/Command.java
@@ -8,6 +8,7 @@ import java.util.Set;
@@ -17,7 +17,7 @@ index 548d570..3d0c5a5 100644
import org.bukkit.Server;
import org.bukkit.entity.Player;
import org.bukkit.entity.minecart.CommandMinecart;
-@@ -109,6 +110,31 @@ public abstract class Command {
+@@ -109,6 +110,30 @@ public abstract class Command {
return matchedPlayers;
}
@@ -41,7 +41,6 @@ index 548d570..3d0c5a5 100644
+ */
+ public List<String> tabComplete(CommandSender sender, String alias, String[] args, Location location) throws IllegalArgumentException {
+ // Simply default to the standard tab-complete, subclasses can override this if needed
-+ System.out.println("wat");
+ return tabComplete(sender, alias, args);
+ }
+ // PaperSpigot end