mirror of
https://github.com/Shiewk/SModeration.git
synced 2026-04-28 05:54:16 +02:00
Add ban and kick commands
This commit is contained in:
@@ -56,6 +56,7 @@ public class MuteCommand implements CommandExecutor, TabCompleter {
|
||||
} else {
|
||||
duration += parsedDuration;
|
||||
}
|
||||
if (i == args.length - 1){ p = args.length; }
|
||||
}
|
||||
if (duration == 0){
|
||||
sender.sendMessage(Component.text("Please provide a valid duration.").color(NamedTextColor.RED));
|
||||
|
||||
Reference in New Issue
Block a user