Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit ad8baa0

Browse files
1.0.2
1 parent 2aac10d commit ad8baa0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
ext.kotlin_version = "1.5.0-RC"
99

10-
version = "1.0.1"
10+
version = "1.0.2"
1111
group = "mynameisjeff"
1212
archivesBaseName = "SkyblockClient-Updater"
1313

src/main/kotlin/mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import net.minecraftforge.fml.common.gameevent.TickEvent
1313
@Mod(modid = "skyblockclientupdater", name = "SkyClient Updater", version = SkyClientUpdater.VERSION, clientSideOnly = true, modLanguage = "kotlin", modLanguageAdapter = "mynameisjeff.skyblockclientupdater.utils.kotlin.KotlinAdapter")
1414
object SkyClientUpdater {
1515

16-
const val VERSION = "1.0.1"
16+
const val VERSION = "1.0.2"
1717

1818
@JvmField
1919
val mc = Minecraft.getMinecraft()

src/main/kotlin/mynameisjeff/skyblockclientupdater/gui/ChooseUpdatedModsScreen.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class ChooseUpdatedModsScreen : GuiScreen() {
7676

7777
fun updateScreen() {
7878
for (e in entries) {
79-
e.toggleButton.displayString = if (e.needsUpdate) "Update" else "Ignore"
79+
e.toggleButton.displayString = if (e.needsUpdate) "Updating" else "Ignoring"
8080
}
8181
}
8282

@@ -107,7 +107,7 @@ class ChooseUpdatedModsScreen : GuiScreen() {
107107
ks.toggleButton.visible = visible
108108
if (visible) {
109109
ks.toggleButton.yPosition = slotTop
110-
ks.toggleButton.displayString = if (ks.needsUpdate) "Update" else "Ignore"
110+
ks.toggleButton.displayString = if (ks.needsUpdate) "Updating" else "Ignoring"
111111

112112
mc.fontRendererObj.drawString(
113113
"§c${ks.oldFile} §r§l➜ §a${ks.newFile}",

src/main/kotlin/mynameisjeff/skyblockclientupdater/utils/UpdateChecker.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ object UpdateChecker {
9393
}
9494

9595
fun getLatestMods() {
96-
val mods = JsonParser().parse(WebUtils.fetchResponse("https://cdn.jsdelivr.net/gh/nacrt/SkyblockClient-REPO/files/mods.json")).asJsonArray
96+
val mods = JsonParser().parse(WebUtils.fetchResponse("https://rawcdn.githack.com/nacrt/SkyblockClient-REPO/fc0ff669d34e609f59327efb1f9dbeb2e6dd337b/files/mods.json")).asJsonArray
9797
for (m in mods) {
9898
val mod = m.asJsonObject
9999
val name = mod.get("file").asString

0 commit comments

Comments
 (0)