Finish fixing TAB completion via console

This commit is contained in:
William committed 2022-08-23 18:40:56 +01:00
1 parent 16206b72eb
commit 32f05de853
15 files changed
+42 -22

No files matched your search

@@ -1,6 +1,8 @@
package net.william278.huskhomes.command;
import net.william278.huskhomes.player.OnlineUser;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.List;
@@ -16,6 +18,6 @@ public interface TabCompletable {
* @return List of String arguments to offer TAB suggestions
*/
@NotNull
List<String> onTabComplete(@NotNull String[] args);
List<String> onTabComplete(@NotNull String[] args, @Nullable OnlineUser user);
}