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