diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f1847c..f238f17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,4 +4,4 @@ - Support for 1.20-1.20.1 in one file ## [3.0.3] - Tweak Flower generation -- +- Quiltify SimpleConfig diff --git a/src/main/java/xyz/limepot/roses_mod/config/SimpleConfig.java b/src/main/java/xyz/limepot/roses_mod/config/SimpleConfig.java index 91e4882..6347986 100644 --- a/src/main/java/xyz/limepot/roses_mod/config/SimpleConfig.java +++ b/src/main/java/xyz/limepot/roses_mod/config/SimpleConfig.java @@ -50,9 +50,9 @@ package xyz.limepot.roses_mod.config; * THE SOFTWARE. */ -import net.fabricmc.loader.api.FabricLoader; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; +import org.quiltmc.loader.api.QuiltLoader; import java.io.File; import java.io.IOException; @@ -126,7 +126,8 @@ public class SimpleConfig { * @return new config request object */ public static ConfigRequest of( String filename ) { - Path path = FabricLoader.getInstance().getConfigDir(); + //Modified by LimePotato + Path path = QuiltLoader.getConfigDir(); return new ConfigRequest( path.resolve( filename + ".properties" ).toFile(), filename ); }