aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/features/UpdateChecker.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-08-06 20:45:44 -0400
committerbowser0000 <bowser0000@gmail.com>2021-08-06 20:45:44 -0400
commit4ef36d87f423c021891075e8015b5f20760510fd (patch)
tree44471340a0575881c78ff02eafaad37d3c2710fa /src/main/java/me/Danker/features/UpdateChecker.java
parenta40b6338955f469f4a476b0d9b0ff61952289bcb (diff)
downloadSkyblockMod-4ef36d87f423c021891075e8015b5f20760510fd.tar.gz
SkyblockMod-4ef36d87f423c021891075e8015b5f20760510fd.tar.bz2
SkyblockMod-4ef36d87f423c021891075e8015b5f20760510fd.zip
Add option to use lily weight in /weight
Diffstat (limited to 'src/main/java/me/Danker/features/UpdateChecker.java')
-rw-r--r--src/main/java/me/Danker/features/UpdateChecker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/UpdateChecker.java b/src/main/java/me/Danker/features/UpdateChecker.java
index 747fe91..7fe75b0 100644
--- a/src/main/java/me/Danker/features/UpdateChecker.java
+++ b/src/main/java/me/Danker/features/UpdateChecker.java
@@ -26,7 +26,7 @@ public class UpdateChecker {
EntityPlayer player = Minecraft.getMinecraft().thePlayer;
System.out.println("Checking for updates...");
- JsonObject latestRelease = APIHandler.getResponse("https://api.github.com/repos/bowser0000/SkyblockMod/releases/latest");
+ JsonObject latestRelease = APIHandler.getResponse("https://api.github.com/repos/bowser0000/SkyblockMod/releases/latest", false);
String latestTag = latestRelease.get("tag_name").getAsString();
DefaultArtifactVersion currentVersion = new DefaultArtifactVersion(DankersSkyblockMod.VERSION);