mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-21 15:59:21 +00:00
Use defaultOptions of ConfigurationOptions as well
This commit is contained in:
@@ -49,7 +49,7 @@ public final class ConfigLoader {
|
|||||||
try {
|
try {
|
||||||
var loader = YamlConfigurationLoader.builder()
|
var loader = YamlConfigurationLoader.builder()
|
||||||
.path(dataDirectory.resolve("config.yml"))
|
.path(dataDirectory.resolve("config.yml"))
|
||||||
.defaultOptions(InterfaceDefaultOptions.get())
|
.defaultOptions(InterfaceDefaultOptions::addTo)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
node = loader.load();
|
node = loader.load();
|
||||||
|
|||||||
Reference in New Issue
Block a user