From 59168c344791f8cccc8bd3f5cf47f6e33b5b1c0c Mon Sep 17 00:00:00 2001 From: Lixfel Date: Thu, 17 Aug 2023 22:53:31 +0200 Subject: [PATCH] CommonCore update, 1.20 Buildercloud Signed-off-by: Lixfel --- CommonCore | 2 +- src/de/steamwar/bungeecore/ServerStarter.java | 3 ++- src/de/steamwar/bungeecore/commands/BuilderCloudCommand.java | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CommonCore b/CommonCore index a2bb52a..0fef6c0 160000 --- a/CommonCore +++ b/CommonCore @@ -1 +1 @@ -Subproject commit a2bb52ab263d518dd6d103ee41ba06bf3bce7f45 +Subproject commit 0fef6c0f8f5499cc3a74aea38d51abbe97ba11c2 diff --git a/src/de/steamwar/bungeecore/ServerStarter.java b/src/de/steamwar/bungeecore/ServerStarter.java index b71fd86..25af0cb 100644 --- a/src/de/steamwar/bungeecore/ServerStarter.java +++ b/src/de/steamwar/bungeecore/ServerStarter.java @@ -337,7 +337,8 @@ public class ServerStarter { public enum Version { SPIGOT_12("spigot-1.12.2.jar", 12), SPIGOT_15("spigot-1.15.2.jar", 15), - PAPER_19("paper-1.19.3.jar", 19); + PAPER_19("paper-1.19.3.jar", 19), + PAPER_20("paper-1.20.1.jar", 20); private final String serverJar; private final int versionSuffix; diff --git a/src/de/steamwar/bungeecore/commands/BuilderCloudCommand.java b/src/de/steamwar/bungeecore/commands/BuilderCloudCommand.java index f1eb7c0..cb5eb1b 100644 --- a/src/de/steamwar/bungeecore/commands/BuilderCloudCommand.java +++ b/src/de/steamwar/bungeecore/commands/BuilderCloudCommand.java @@ -26,6 +26,9 @@ public class BuilderCloudCommand extends SWCommand { versionMap.put("19", ServerStarter.Version.PAPER_19); versionMap.put("1.19", ServerStarter.Version.PAPER_19); versionMap.put("1.19.2", ServerStarter.Version.PAPER_19); + versionMap.put("20", ServerStarter.Version.PAPER_20); + versionMap.put("1.20", ServerStarter.Version.PAPER_20); + versionMap.put("1.20.1", ServerStarter.Version.PAPER_20); } @Register(value = "create", description = "BUILDERCLOUD_CREATE_USAGE")