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