Update Command_updatetfm.java

This commit is contained in:
1980s-housewife 2022-03-23 20:52:19 +00:00
parent 7635300799
commit 1894809d43

View file

@ -18,7 +18,7 @@ public class Command_updatetfm extends FreedomCommand {
@Override
public boolean run(CommandSender sender, org.bukkit.entity.Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) {
playerMsg("Compiling TFM, please wait...", ChatColor.RED);
Utilities.adminAction(sender.getName(), "Compiling TFM", true);
Utilities.adminAction(sender.getName(), "Updating TFM, lag will occur", true);
String path = MainConfig.getString(ConfigurationEntry.TFM_BUILD_SHELLSCRIPT);
File file = new File(path);
String directory = file.getParent();