Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-12 19:10:19 +01:00
Progress
Dieser Commit ist enthalten in:
Ursprung
10bf4eeb4e
Commit
cb4c5ad62d
@ -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
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren