From 6751fefdda0b171e0830d31e701d4be66af73c9d Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 13 Apr 2017 17:45:15 -0700 Subject: Clarify behavior of tab completing in command blocks --- src/main/java/org/bukkit/command/TabCompleter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/org/bukkit/command/TabCompleter.java b/src/main/java/org/bukkit/command/TabCompleter.java index 6d61e3ab..3752ba9f 100644 --- a/src/main/java/org/bukkit/command/TabCompleter.java +++ b/src/main/java/org/bukkit/command/TabCompleter.java @@ -10,7 +10,9 @@ public interface TabCompleter { /** * Requests a list of possible completions for a command argument. * - * @param sender Source of the command + * @param sender Source of the command. For players tab-completing a + * command inside of a command block, this will be the player, not + * the command block. * @param command Command which was executed * @param alias The alias used * @param args The arguments passed to the command, including final -- cgit v1.2.3