mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Fix TAB completion for console
This commit is contained in:
1 parent
6d6863c55b
commit
91dd3b5470
2 files changed
+3
-5
No files matched your search
@@ -1,6 +1,5 @@
|
||||
package net.william278.huskhomes.command;
|
||||
|
||||
import net.william278.huskhomes.player.OnlineUser;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
@@ -13,11 +12,10 @@ public interface TabCompletable {
|
||||
/**
|
||||
* What should be returned when the player attempts to TAB-complete the command
|
||||
*
|
||||
* @param onlineUser {@link OnlineUser} doing the TAB completion
|
||||
* @param args Current command arguments
|
||||
* @param args Current command arguments
|
||||
* @return List of String arguments to offer TAB suggestions
|
||||
*/
|
||||
@NotNull
|
||||
List<String> onTabComplete(@NotNull OnlineUser onlineUser, @NotNull String[] args);
|
||||
List<String> onTabComplete(@NotNull String[] args);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user