From 84a5db611adcf948f24e3337ce18c3b4c3124aa3 Mon Sep 17 00:00:00 2001 From: Abel Date: Sun, 8 Dec 2024 00:57:10 +0100 Subject: [PATCH] small test ig --- .../abelkrijgtalles/mojangmaps/common/MojangMaps.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/common/src/main/java/nl/abelkrijgtalles/mojangmaps/common/MojangMaps.java b/common/src/main/java/nl/abelkrijgtalles/mojangmaps/common/MojangMaps.java index 0d4529b..61a1c24 100644 --- a/common/src/main/java/nl/abelkrijgtalles/mojangmaps/common/MojangMaps.java +++ b/common/src/main/java/nl/abelkrijgtalles/mojangmaps/common/MojangMaps.java @@ -21,7 +21,6 @@ import java.util.List; import net.minecraft.DetectedVersion; import nl.abelkrijgtalles.mojangmaps.common.compatibility.LoaderInfo; -import nl.abelkrijgtalles.mojangmaps.common.compatibility.config.ConfigGroup; import nl.abelkrijgtalles.mojangmaps.common.compatibility.config.ConfigItem; import nl.abelkrijgtalles.mojangmaps.common.compatibility.config.ConfigObject; import org.apache.logging.log4j.LogManager; @@ -38,18 +37,15 @@ public static void init(LoaderInfo loaderInfo) { MojangMaps.loaderInfo = loaderInfo; LOGGER.info("Running Mojang Maps on Minecraft version {}.", DetectedVersion.tryDetectVersion().getName()); + LOGGER.info(loaderInfo.getConfig().get("message")); } public static List getDefaultConfig() { return List.of( - new ConfigItem("test", "true", "Idk or something"), - new ConfigGroup("CoolGroup", "Very cool", List.of( - new ConfigItem("cool", "false", ""), - new ConfigGroup("idk", "Hello how are you?", List.of( - new ConfigItem("name", "Mojang maps", "pls no change") - ))))); + new ConfigItem("message", "Hello you are cool :)", "Very cool") + ); } }