Skip to content

Commit

Permalink
small test ig
Browse files Browse the repository at this point in the history
  • Loading branch information
Abelkrijgtalles committed Dec 7, 2024
1 parent 89a3672 commit 84a5db6
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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<ConfigObject> 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")
);
}

}

0 comments on commit 84a5db6

Please sign in to comment.