ru.cwcode.commands.paperplatform.paper.PaperTabCompleter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of PaperCommands Show documentation
Show all versions of PaperCommands Show documentation
Commands library for Paper (Minecraft)
package ru.cwcode.commands.paperplatform.paper;
import org.bukkit.command.CommandSender;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import ru.cwcode.commands.Command;
import ru.cwcode.commands.TabCompleter;
import java.util.List;
public class PaperTabCompleter extends TabCompleter implements org.bukkit.command.TabCompleter {
public PaperTabCompleter(Command command) {
super(command);
}
@Override
public @Nullable List onTabComplete(@NotNull CommandSender commandSender, org.bukkit.command.@NotNull Command command, @NotNull String s, @NotNull String[] strings) {
return onTabComplete(new PaperSender(commandSender), strings);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy