From defc261e5e5e2d7a62ba1f7e0000d601c81873d2 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 10 Dec 2021 09:08:47 +0100 Subject: [PATCH] Hotfix: No paper baus Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/SubserverSystem.java | 12 ++---------- src/de/steamwar/bungeecore/commands/BauCommand.java | 3 --- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/de/steamwar/bungeecore/SubserverSystem.java b/src/de/steamwar/bungeecore/SubserverSystem.java index 9e08df5..1dd8fe1 100644 --- a/src/de/steamwar/bungeecore/SubserverSystem.java +++ b/src/de/steamwar/bungeecore/SubserverSystem.java @@ -167,17 +167,9 @@ public class SubserverSystem { sendToBau(p, owner, BungeeCore.BAUWELT_PROTOTYP, BungeeCore.WORLD_FOLDER, "spigot-1.12.2.jar", "/home/minecraft/userworlds", owner.toString(), "256M", "UserBau"); } - private static void sendToBau15(ProxiedPlayer p, UUID owner, String serverJar){ - SteamwarUser user = SteamwarUser.get(owner); - sendToBau(p, owner, BungeeCore.BAUWELT15, BungeeCore.USERWORLDS15, serverJar, "/home/minecraft/userworlds15", String.valueOf(user.getId()), "768M", "Bau15"); - } - public static void sendToBau15(ProxiedPlayer p, UUID owner){ - sendToBau15(p, owner, "spigot-1.15.2.jar"); - } - - public static void sendToBau15paper(ProxiedPlayer p, UUID owner){ - sendToBau15(p, owner, "paper-1.15.2.jar"); + SteamwarUser user = SteamwarUser.get(owner); + sendToBau(p, owner, BungeeCore.BAUWELT15, BungeeCore.USERWORLDS15, "spigot-1.15.2.jar", "/home/minecraft/userworlds15", String.valueOf(user.getId()), "768M", "Bau15"); } public static void sendDeniedMessage(ProxiedPlayer p, UUID owner){ diff --git a/src/de/steamwar/bungeecore/commands/BauCommand.java b/src/de/steamwar/bungeecore/commands/BauCommand.java index b555494..27d8d21 100644 --- a/src/de/steamwar/bungeecore/commands/BauCommand.java +++ b/src/de/steamwar/bungeecore/commands/BauCommand.java @@ -69,9 +69,6 @@ public class BauCommand extends BasicCommand { case "1.15": SubserverSystem.sendToBau15(p, p.getUniqueId()); break; - case "paper": - SubserverSystem.sendToBau15paper(p, p.getUniqueId()); - break; case "addmember": addmember(p, args); break;