Resolves FS-318 by rewriting the /mute command

This has the fortunate side-effect of also fixing several bugs present in the original command.
This commit is contained in:
Video
2022-11-13 06:19:10 -07:00
parent f0d6549eec
commit af18299613
4 changed files with 95 additions and 147 deletions

View File

@ -14,7 +14,7 @@ import java.util.List;
import java.util.Optional;
@CommandPermissions(level = Rank.ADMIN, source = SourceType.BOTH)
@CommandParameters(description = "Restricts/restores block modification abilities for everyone on the server or a certain player.", usage = "/<command> [[-s] <player> [reason] | list | purge | all]")
@CommandParameters(description = "Restricts/restores block modification abilities for everyone on the server or a certain player.", usage = "/<command> [<player> [reason] | list | purge | all]")
public class Command_blockedit extends FreedomCommand
{
@Override