Removed Bukkit stuff I missed from the general use API

This commit is contained in:
2021-07-31 23:27:29 +02:00
parent 59a6edd4f6
commit e253894a77
6 changed files with 46 additions and 45 deletions
@@ -24,7 +24,7 @@ public class MuteServer implements CommandExecutor {
public void run() {
UUID uuid = ((Player) sender).getUniqueId();
if (!Utility.hasPermission(uuid, Config.SERVERMUTEPERMISSION)) {
Utility.noPermission(sender);
sender.sendMessage(MiniMessage.get().parse("<red>You don't have permission to use this command.</red>"));
return;
}
ChatPlugin.getInstance().toggleServerMuted();