mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-13 19:01:28 +01:00
Removed tab completion in BentoBoxReloadCommand (unused)
This commit is contained in:
parent
b558c905a4
commit
a1af25b98c
@ -34,7 +34,6 @@ public class BentoBoxReloadCommand extends ConfirmableCommand {
|
||||
setDescription("commands.bentobox.reload.description");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean execute(User user, String label, List<String> args) {
|
||||
if (args.isEmpty()) {
|
||||
@ -62,9 +61,4 @@ public class BentoBoxReloadCommand extends ConfirmableCommand {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<List<String>> tabComplete(User user, String alias, List<String> args) {
|
||||
return Optional.of(getPlugin().getAddonsManager().getAddons().stream().map(a -> a.getDescription().getName()).collect(Collectors.toList()));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user