1
mirror of https://github.com/Shiewk/SModeration.git synced 2026-04-28 05:54:16 +02:00

Improved command registration

This commit is contained in:
Shy
2024-07-23 15:04:36 +02:00
parent e2a344d92c
commit d8ff58191f
10 changed files with 33 additions and 61 deletions
@@ -17,7 +17,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
public class MuteCommand implements CommandExecutor, TabCompleter {
public class MuteCommand implements TabExecutor {
@Override
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
if (args.length < 2){