From dc8025f4a2625061c115d3bf0a22fd32ad70f703 Mon Sep 17 00:00:00 2001 From: I-No-oNe <145749961+I-No-oNe@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:31:18 +0300 Subject: [PATCH] Fixed Icon & Changed 1.20.1 to be equal to 1.20 --- gradle.properties | 2 +- src/main/java/net/i_no_am/clickcrystals/ModDownloader.java | 2 +- src/main/resources/fabric.mod.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 813ee2a..07d6f33 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_mappings=1.21+build.9 loader_version=0.15.11 # Mod Properties -mod_version=0.1-fabric +mod_version=0.2-fabric maven_group=net.i_no_am.clickcrystals archives_base_name=ClickCrystals-Updater diff --git a/src/main/java/net/i_no_am/clickcrystals/ModDownloader.java b/src/main/java/net/i_no_am/clickcrystals/ModDownloader.java index c737f23..0962249 100644 --- a/src/main/java/net/i_no_am/clickcrystals/ModDownloader.java +++ b/src/main/java/net/i_no_am/clickcrystals/ModDownloader.java @@ -76,7 +76,7 @@ private static String getGameVersion() { gameVersion = container.getMetadata().getVersion().getFriendlyString(); } return switch (Objects.requireNonNull(gameVersion)) { - case "1.20.1" -> "1.20.2"; + case "1.20.1" -> "1.20"; case "1.20.3" -> "1.20.4"; case "1.20.5" -> "1.20.6"; default -> gameVersion; diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index fae05bf..f97f8d1 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -12,6 +12,7 @@ "sources": "https://github.com/clickcrystals-development/ClickCrystals-Auto-Updater" }, "license": "MIT", + "icon": "assets/clickcrystals-updater/icon.png", "environment": "*", "entrypoints": { "client": [