From 2aac10db6347bb50ad45ae53f13ee70f3445f9fc Mon Sep 17 00:00:00 2001 From: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> Date: Thu, 13 May 2021 23:42:48 -0400 Subject: [PATCH] 1.0.1 --- build.gradle | 2 +- .../mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt | 2 +- .../skyblockclientupdater/gui/ChooseUpdatedModsScreen.kt | 2 -- .../mynameisjeff/skyblockclientupdater/utils/UpdateChecker.kt | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 626b63c..ffda48c 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { ext.kotlin_version = "1.5.0-RC" -version = "1.0" +version = "1.0.1" group = "mynameisjeff" archivesBaseName = "SkyblockClient-Updater" diff --git a/src/main/kotlin/mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt b/src/main/kotlin/mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt index 8cb8348..9ea312f 100644 --- a/src/main/kotlin/mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt +++ b/src/main/kotlin/mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt @@ -13,7 +13,7 @@ import net.minecraftforge.fml.common.gameevent.TickEvent @Mod(modid = "skyblockclientupdater", name = "SkyClient Updater", version = SkyClientUpdater.VERSION, clientSideOnly = true, modLanguage = "kotlin", modLanguageAdapter = "mynameisjeff.skyblockclientupdater.utils.kotlin.KotlinAdapter") object SkyClientUpdater { - const val VERSION = "1.0" + const val VERSION = "1.0.1" @JvmField val mc = Minecraft.getMinecraft() diff --git a/src/main/kotlin/mynameisjeff/skyblockclientupdater/gui/ChooseUpdatedModsScreen.kt b/src/main/kotlin/mynameisjeff/skyblockclientupdater/gui/ChooseUpdatedModsScreen.kt index 3412d43..a8f2be9 100644 --- a/src/main/kotlin/mynameisjeff/skyblockclientupdater/gui/ChooseUpdatedModsScreen.kt +++ b/src/main/kotlin/mynameisjeff/skyblockclientupdater/gui/ChooseUpdatedModsScreen.kt @@ -7,8 +7,6 @@ import net.minecraft.client.gui.GuiButton import net.minecraft.client.gui.GuiMainMenu import net.minecraft.client.gui.GuiScreen import net.minecraft.client.renderer.Tessellator -import net.minecraft.client.settings.GameSettings -import net.minecraft.util.EnumChatFormatting import net.minecraftforge.fml.client.GuiScrollingList import java.awt.Color diff --git a/src/main/kotlin/mynameisjeff/skyblockclientupdater/utils/UpdateChecker.kt b/src/main/kotlin/mynameisjeff/skyblockclientupdater/utils/UpdateChecker.kt index a0b5b52..06fc57f 100644 --- a/src/main/kotlin/mynameisjeff/skyblockclientupdater/utils/UpdateChecker.kt +++ b/src/main/kotlin/mynameisjeff/skyblockclientupdater/utils/UpdateChecker.kt @@ -93,7 +93,7 @@ object UpdateChecker { } fun getLatestMods() { - val mods = JsonParser().parse(WebUtils.fetchResponse("https://cdn.jsdelivr.net/gh/nacrt/SkyblockClient-REPO@main/files/mods.json")).asJsonArray + val mods = JsonParser().parse(WebUtils.fetchResponse("https://cdn.jsdelivr.net/gh/nacrt/SkyblockClient-REPO/files/mods.json")).asJsonArray for (m in mods) { val mod = m.asJsonObject val name = mod.get("file").asString