fixed tabcomplete on mute command
This commit is contained in:
parent
c56f318f1c
commit
bd630ebb7a
@ -27,7 +27,7 @@ public class MuteCommand extends ApplianceCommand<ChatMute> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @Nullable List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
|
public @Nullable List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
|
||||||
if(args.length == 1) {
|
if(args.length == 2) {
|
||||||
return List.of("1", "2", "4", "8", "24", "48");
|
return List.of("1", "2", "4", "8", "24", "48");
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user