From 43809981fb77c074fedd39bcc360289eee2718e8 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 12 Jan 2020 08:32:25 +0100 Subject: [PATCH] Hotfix test server log path and auto sending --- src/de/steamwar/bungeecore/SubserverSystem.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/SubserverSystem.java b/src/de/steamwar/bungeecore/SubserverSystem.java index 2d6d150..5010254 100644 --- a/src/de/steamwar/bungeecore/SubserverSystem.java +++ b/src/de/steamwar/bungeecore/SubserverSystem.java @@ -90,7 +90,7 @@ public class SubserverSystem { //Generate launch command List cmd = new LinkedList<>(); cmd.add("java"); - cmd.add("-DlogPath=" + serverName); + cmd.add("-DlogPath=" + mapName); cmd.add("-DfightID=" + eventFightID); if(player1 != null && eventFightID != -1) cmd.add("-DblueLeader=" + player1.toString()); @@ -150,7 +150,7 @@ public class SubserverSystem { } public static void sendToTestServer(ProxiedPlayer p, ArenaMode m, String map){ - startArena(m, map, -1, p.getName() + "s Bau", p.getName(), p.getUniqueId(), null); + startArena(m, map, -1, p.getName() + "s Bau", p.getName(), p.getUniqueId(), null).sendPlayer(p); } public static void sendToBauServer(ProxiedPlayer p, UUID owner){