diff --git a/src/de/steamwar/bungeecore/commands/WebregisterCommand.java b/src/de/steamwar/bungeecore/commands/WebregisterCommand.java index 8c42d40..5812930 100644 --- a/src/de/steamwar/bungeecore/commands/WebregisterCommand.java +++ b/src/de/steamwar/bungeecore/commands/WebregisterCommand.java @@ -27,7 +27,7 @@ public class WebregisterCommand extends BasicCommand { } ProcessBuilder pb = new ProcessBuilder("php", "/var/www/register.php", player.getName(), args[0]); - pb = pb.redirectInput(ProcessBuilder.Redirect.PIPE).redirectError(ProcessBuilder.Redirect.PIPE).redirectOutput(ProcessBuilder.Redirect.PIPE); + pb.redirectErrorStream(true); System.out.println(pb.command()); try { Process regProcess = pb.start();