summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2017-04-13 17:45:15 -0700
committerPokechu22 <Pokechu022@gmail.com>2017-04-13 17:45:15 -0700
commit6751fefdda0b171e0830d31e701d4be66af73c9d (patch)
tree7db4583ff798d83e3682af4f71713cb14debe205 /src
parent4716bcc6f875def8bc7c6121dfa0f06782d7ec38 (diff)
downloadbukkit-6751fefdda0b171e0830d31e701d4be66af73c9d.tar
bukkit-6751fefdda0b171e0830d31e701d4be66af73c9d.tar.gz
bukkit-6751fefdda0b171e0830d31e701d4be66af73c9d.tar.lz
bukkit-6751fefdda0b171e0830d31e701d4be66af73c9d.tar.xz
bukkit-6751fefdda0b171e0830d31e701d4be66af73c9d.zip
Clarify behavior of tab completing in command blocks
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/command/TabCompleter.java4
1 files changed, 3 insertions, 1 deletions
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