Word UpdateTFM command better

This commit is contained in:
Business Goose 2022-03-28 22:53:15 +01:00
parent 8dcf315305
commit 45ebb92377
No known key found for this signature in database
GPG Key ID: 77DCA801362E9645
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class Command_updatetfm extends FreedomCommand {
ProcessBuilder proc = new ProcessBuilder("/bin/bash", "-c", command);
Process process = proc.start();
process.waitFor();
playerMsg(sender, "Compiling TFM! Reloading...");
playerMsg(sender, "Compiled TFM! Reloading...");
Utilities.adminAction(sender.getName(), "Compilation successful, reloading TFM...", false);
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
onlinePlayer.kickPlayer(ChatColor.RED + "Reloading TFM, please rejoin.");