mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
@@ -16,12 +16,12 @@ public interface TabCompleter {
|
|||||||
* command inside of a command block, this will be the player, not
|
* command inside of a command block, this will be the player, not
|
||||||
* the command block.
|
* the command block.
|
||||||
* @param command Command which was executed
|
* @param command Command which was executed
|
||||||
* @param alias The alias used
|
* @param label Alias of the command which was used
|
||||||
* @param args The arguments passed to the command, including final
|
* @param args The arguments passed to the command, including final
|
||||||
* partial argument to be completed and command label
|
* partial argument to be completed
|
||||||
* @return A List of possible completions for the final argument, or null
|
* @return A List of possible completions for the final argument, or null
|
||||||
* to default to the command executor
|
* to default to the command executor
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
public List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String alias, @NotNull String[] args);
|
public List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user