From e6ae4603de33b0a60873e804648dbe80615a9dd2 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 26 Feb 2020 19:48:19 +0100 Subject: [PATCH] Fixing read. --- src/de/steamwar/bungeecore/commands/WebregisterCommand.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/de/steamwar/bungeecore/commands/WebregisterCommand.java b/src/de/steamwar/bungeecore/commands/WebregisterCommand.java index 5812930b..e04cf187 100644 --- a/src/de/steamwar/bungeecore/commands/WebregisterCommand.java +++ b/src/de/steamwar/bungeecore/commands/WebregisterCommand.java @@ -28,7 +28,6 @@ public class WebregisterCommand extends BasicCommand { ProcessBuilder pb = new ProcessBuilder("php", "/var/www/register.php", player.getName(), args[0]); pb.redirectErrorStream(true); - System.out.println(pb.command()); try { Process regProcess = pb.start(); BufferedReader reader = new BufferedReader(new InputStreamReader(regProcess.getInputStream())); @@ -52,8 +51,6 @@ public class WebregisterCommand extends BasicCommand { } error = true; } - System.out.println(regProcess.exitValue()); - System.out.println(regProcess.isAlive()); if(error) return;