diff options
Diffstat (limited to 'src/main/java/org/bukkit/command/Command.java')
-rw-r--r-- | src/main/java/org/bukkit/command/Command.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/command/Command.java b/src/main/java/org/bukkit/command/Command.java index 87c33d9c..e5fb0f8f 100644 --- a/src/main/java/org/bukkit/command/Command.java +++ b/src/main/java/org/bukkit/command/Command.java @@ -57,7 +57,14 @@ public abstract class Command { public abstract boolean execute(CommandSender sender, String commandLabel, String[] args); /** + * Executed on tab completion for this command, returning a list of + * options the player can tab through. + * * @deprecated This method is not supported and returns null + * @param sender Source object which is executing this command + * @param args All arguments passed to the command, split via ' ' + * @return a list of tab-completions for the specified arguments. This + * will never be null. List may be immutable. */ @Deprecated public List<String> tabComplete(CommandSender sender, String[] args) { |