From 0bb6c71c25e9f0499d25ca274a17ebada11d4f56 Mon Sep 17 00:00:00 2001 From: LionZXY Date: Sun, 18 Apr 2021 12:25:34 +0300 Subject: [PATCH] Add rlcraft server --- local.properties | 4 ++-- .../ru/lionzxy/tplauncher/minecraft/MinecraftContext.kt | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/local.properties b/local.properties index 73551d3..5be01d0 100644 --- a/local.properties +++ b/local.properties @@ -4,5 +4,5 @@ # Location of the SDK. This is only used by Gradle. # For customization when using a Version Control System, please read the # header note. -#Mon Apr 29 14:42:27 MSK 2019 -sdk.dir=/Users/nikita.kulikov/Library/Android/sdk +#Sun Apr 18 12:23:35 EEST 2021 +sdk.dir=/Users/nikitakulikov/Library/Android/sdk diff --git a/src/main/kotlin/ru/lionzxy/tplauncher/minecraft/MinecraftContext.kt b/src/main/kotlin/ru/lionzxy/tplauncher/minecraft/MinecraftContext.kt index b9e36f0..0c29331 100644 --- a/src/main/kotlin/ru/lionzxy/tplauncher/minecraft/MinecraftContext.kt +++ b/src/main/kotlin/ru/lionzxy/tplauncher/minecraft/MinecraftContext.kt @@ -41,6 +41,14 @@ enum class MinecraftModpack( updateHostLink = "$BASE_URL/incremental/skyblock", defaultServer = ServerInfo("mc.glitchless.ru", "Skyblock Server", null, 25568), version = "1.12.2-forge1.12.2-14.23.5.2847" + ), + RLCRAFT( + modpackName = "RLCraft", + initialDownloadLink = null, + updateJsonLink = "$BASE_URL/incremental/rlcraft_changelog.json", + updateHostLink = "$BASE_URL/incremental/rlcraft", + defaultServer = ServerInfo("mc.glitchless.ru", "RLCraft Server", null, 25569), + version = "1.12.2-forge1.12.2-14.23.5.2847" ); override fun toString(): String {