From 2bbeb414b276365f773b837cc2e692ab3ad97f05 Mon Sep 17 00:00:00 2001 From: Susideur-YT <56844734+Susideur@users.noreply.github.com> Date: Sun, 22 Aug 2021 16:27:43 +0200 Subject: [PATCH] Add files via upload --- src/main/java/moreCommandsPlugin.java | 2 +- src/main/java/util/CommandsManager.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/moreCommandsPlugin.java b/src/main/java/moreCommandsPlugin.java index 900e751..e99a44c 100644 --- a/src/main/java/moreCommandsPlugin.java +++ b/src/main/java/moreCommandsPlugin.java @@ -36,7 +36,7 @@ public class moreCommandsPlugin extends mindustry.mod.Plugin { votesRTV = new ArrayList<>(), rainbowedPlayers = new ArrayList<>(), effects = new ArrayList<>(), - adminCommands = new Seq().addAll("team", "am", "kick", "pardon", "ban", "unban", "players", "kill", "tp", "core", "tchat", "spawn", "godmode", "mute").list(), + adminCommands = new Seq().addAll("team", "am", "kick", "pardon", "ban", "unban", "players", "kill", "tp", "core", "tchat", "spawn", "godmode", "mute", "unmute").list(), bannedClients = new Seq().addAll("VALVE", "tuttop", "CODEX", "IGGGAMES", "IgruhaOrg", "FreeTP.Org").list(), defaultBannedNames = new Seq().addAll("[Server]", "[server]", "@a", "@p", "@t", "~").list(), defaultBannedIps = new ArrayList<>(), diff --git a/src/main/java/util/CommandsManager.java b/src/main/java/util/CommandsManager.java index 745ad4d..baba6de 100644 --- a/src/main/java/util/CommandsManager.java +++ b/src/main/java/util/CommandsManager.java @@ -4,7 +4,6 @@ import arc.struct.ObjectMap; import arc.struct.Seq; import arc.util.CommandHandler; -import arc.util.Log; public class CommandsManager { @@ -39,7 +38,7 @@ public static void update(CommandHandler handler) { handler.removeCommand("host"); handler.register("host", "[mapname] [mode]", "Open the server. Will default to survival and a random map if not specified.", arg -> - Log.warn("Changes have been made. Please restart the server for them to take effect. (tip: write 'exit' to shut down the server)") + arc.util.Log.warn("Changes have been made. Please restart the server for them to take effect. (tip: write 'exit' to shut down the server)") ); return; }