From 608700901aad650de920ac29f3577d2b8af8a6a3 Mon Sep 17 00:00:00 2001 From: ev chang Date: Sun, 23 Jun 2024 00:09:53 +0700 Subject: [PATCH] Fix mod icon in config --- gradle.properties | 2 +- .../org/polyfrost/colorsaturation/config/SaturationConfig.java | 2 +- src/main/resources/colorsaturation.svg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 21c5c0d..8b72366 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ mod_name=ColorSaturation # Sets the id of your mod that mod loaders use to recognize it. mod_id=colorsaturation # Sets the version of your mod. Make sure to update this when you make changes according to semver. -mod_version=1.0.0-alpha1 +mod_version=1.0.0 # Sets the name of the jar file that you put in your 'mods' folder. mod_archives_name=ColorSaturation diff --git a/src/main/java/org/polyfrost/colorsaturation/config/SaturationConfig.java b/src/main/java/org/polyfrost/colorsaturation/config/SaturationConfig.java index 88dce15..bdb1040 100644 --- a/src/main/java/org/polyfrost/colorsaturation/config/SaturationConfig.java +++ b/src/main/java/org/polyfrost/colorsaturation/config/SaturationConfig.java @@ -35,7 +35,7 @@ public class SaturationConfig extends Config { public static float saturation = 1; public SaturationConfig() { - super(new Mod(ColorSaturation.NAME, ModType.UTIL_QOL), ColorSaturation.MODID + ".json"); + super(new Mod(ColorSaturation.NAME, ModType.UTIL_QOL, "/colorsaturation.svg"), ColorSaturation.MODID + ".json"); initialize(); addListener("saturation", () -> { diff --git a/src/main/resources/colorsaturation.svg b/src/main/resources/colorsaturation.svg index 964bb27..6dc259c 100644 --- a/src/main/resources/colorsaturation.svg +++ b/src/main/resources/colorsaturation.svg @@ -1,5 +1,5 @@ - +