Skip to content

Commit

Permalink
Use defaultOptions of ConfigurationOptions as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Jun 12, 2024
1 parent f2bd713 commit e958f63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static <T extends FloodgateConfig> T load(Path dataDirectory, boolean isP
try {
var loader = YamlConfigurationLoader.builder()
.path(dataDirectory.resolve("config.yml"))
.defaultOptions(InterfaceDefaultOptions.get())
.defaultOptions(InterfaceDefaultOptions::addTo)
.build();

node = loader.load();
Expand Down

0 comments on commit e958f63

Please sign in to comment.