From da86ec8ef014e9852da56ebcbab4d350c3296df2 Mon Sep 17 00:00:00 2001 From: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com> Date: Wed, 10 Jul 2024 18:27:28 +0800 Subject: [PATCH] Prepare for locraw removal from Skyblocker --- CHANGELOG.md | 5 +++++ gradle.properties | 4 ++-- src/main/java/com/kevinthegreat/skyblockmod/util/Info.java | 2 +- src/main/resources/fabric.mod.json | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a602bdd..ae55087 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## Skyblock Mod 1.10.5 for 1.21 + +Prepare for removal of locraw from Skyblocker. + + ## Skyblock Mod 1.10.4 for 1.21 Support for 1.21. diff --git a/gradle.properties b/gradle.properties index 0ca69a8..4fd7dab 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,14 +8,14 @@ org.gradle.jvmargs = -Xmx1G loader_version = 0.15.11 # Mod Properties - mod_version = 1.10.4 + mod_version = 1.10.5 maven_group = com.kevinthegreat.skyblockmod archives_base_name = skyblock-mod # Dependencies fabric_version = 0.100.1+1.21 modmenu_version = 11.0.0-beta.1 - skyblocker_version = v1.21.0+1.21 + skyblocker_version = v1.21.1+1.21 jgit_version = 6.9.0.202403050737-r ## Apache Commons Math (https://mvnrepository.com/artifact/org.apache.commons/commons-math3) commons_math_version = 3.6.1 \ No newline at end of file diff --git a/src/main/java/com/kevinthegreat/skyblockmod/util/Info.java b/src/main/java/com/kevinthegreat/skyblockmod/util/Info.java index 8ba6f94..f184048 100644 --- a/src/main/java/com/kevinthegreat/skyblockmod/util/Info.java +++ b/src/main/java/com/kevinthegreat/skyblockmod/util/Info.java @@ -111,7 +111,7 @@ private void updateFromScoreboard(MinecraftClient client) { private void updateLocRaw() { if (hypixel) { long currentTime = System.currentTimeMillis(); - if (!sentLocRaw && currentTime > clientWorldJoinTime + 1000 && currentTime > lastLocRaw + 15000 && !SKYBLOCKER_LOADED) { + if (!sentLocRaw && currentTime > clientWorldJoinTime + 1000 && currentTime > lastLocRaw + 15000) { SkyblockMod.skyblockMod.message.sendMessageAfterCooldown("/locraw"); sentLocRaw = true; lastLocRaw = currentTime; diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index f72f79e..945652e 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -34,7 +34,7 @@ "depends": { "fabricloader": ">=0.15", "fabric": "*", - "minecraft": ">=1.20.5", + "minecraft": ">=1.21", "java": ">=21" } }