Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +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 {
|
public static <T extends GeyserConfig> T load(Class<T> configClass) throws IOException {
|
||||||
if (true) {
|
|
||||||
return null; // For now
|
|
||||||
}
|
|
||||||
var loader = YamlConfigurationLoader.builder()
|
var loader = YamlConfigurationLoader.builder()
|
||||||
.file(new File("newconfig.yml"))
|
.file(new File("newconfig.yml"))
|
||||||
.defaultOptions(InterfaceDefaultOptions.get()
|
.defaultOptions(options -> InterfaceDefaultOptions.addTo(options.header(HEADER)))
|
||||||
.header(HEADER))
|
|
||||||
.build();
|
.build();
|
||||||
ConfigurationNode node = loader.load();
|
ConfigurationNode node = loader.load();
|
||||||
// temp fix for node.virtual() being broken
|
// temp fix for node.virtual() being broken
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren