mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Progress
This commit is contained in:
parent
10bf4eeb4e
commit
cb4c5ad62d
1 changed files with 1 additions and 5 deletions
|
@ -52,13 +52,9 @@ public class ConfigLoaderTemp {
|
|||
--------------------------------""";
|
||||
|
||||
public static <T extends GeyserConfig> T load(Class<T> 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
|
||||
|
|
Loading…
Reference in a new issue