mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:54:57 +00:00
Remove debug stuff
This commit is contained in:
parent
f8d8cbf362
commit
acb777dde8
1 changed files with 0 additions and 4 deletions
|
@ -23,13 +23,9 @@ public class Command_updatetfm extends FreedomCommand {
|
|||
|
||||
try {
|
||||
String command = String.format("cd %s && ./%s", directory, file.getName());
|
||||
System.out.println(command);
|
||||
ProcessBuilder proc = new ProcessBuilder("/bin/bash", "-c", command);
|
||||
proc.redirectErrorStream(true);
|
||||
proc.inheritIO();
|
||||
Process process = proc.start();
|
||||
process.waitFor();
|
||||
System.out.println(proc.redirectOutput());
|
||||
playerMsg("Updated TFM! Reloading...");
|
||||
Utilities.adminAction(sender.getName(), "Update successful, reloading TFM...", false);
|
||||
Bukkit.dispatchCommand(sender, "plugman reload TotalFreedomMod");
|
||||
|
|
Loading…
Reference in a new issue