Revert "Update Command_updatetfm.java"

This reverts commit 1894809d43.
This commit is contained in:
business-goose 2022-03-23 20:54:36 +00:00
parent 1894809d43
commit 8f544a74bf

View file

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