From cb4c5ad62dbed0d5c81fe549fd95a1e3224cffc9 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Sat, 15 Jun 2024 12:56:00 -0400 Subject: [PATCH] Progress --- .../org/geysermc/geyser/configuration/ConfigLoaderTemp.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/configuration/ConfigLoaderTemp.java b/core/src/main/java/org/geysermc/geyser/configuration/ConfigLoaderTemp.java index 98c6d27a6..6d51a2847 100644 --- a/core/src/main/java/org/geysermc/geyser/configuration/ConfigLoaderTemp.java +++ b/core/src/main/java/org/geysermc/geyser/configuration/ConfigLoaderTemp.java @@ -52,13 +52,9 @@ public class ConfigLoaderTemp { --------------------------------"""; public static T load(Class configClass) throws IOException { - if (true) { - return null; // For now - } var loader = YamlConfigurationLoader.builder() .file(new File("newconfig.yml")) - .defaultOptions(InterfaceDefaultOptions.get() - .header(HEADER)) + .defaultOptions(options -> InterfaceDefaultOptions.addTo(options.header(HEADER))) .build(); ConfigurationNode node = loader.load(); // temp fix for node.virtual() being broken