mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-02 16:05:29 +00:00
fix yaml addon
This commit is contained in:
parent
72488c9d18
commit
99a2f1af3a
@ -37,7 +37,7 @@ public class YamlAddon implements AddonInitializer {
|
||||
.then(event -> event.getLoader().open("", ".yml").thenEntries(entries -> entries.forEach(entry -> {
|
||||
LOGGER.debug("Discovered config {}", entry.getKey());
|
||||
event.register(entry.getKey(), new YamlConfiguration(entry.getValue(), entry.getKey()));
|
||||
})))
|
||||
})).close())
|
||||
.failThrough();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user