mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
parent
9c166f741d
commit
2eb853b0af
@ -1,4 +1,4 @@
|
||||
From 5866613ee6d1fdcdf75c97983d6f28e6cf1e2342 Mon Sep 17 00:00:00 2001
|
||||
From c2382d5656ff7e3c1b42ecc8cec1278b60b366d9 Mon Sep 17 00:00:00 2001
|
||||
From: DemonWav <demonwav@gmail.com>
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user