packDirectory -> rootPath

This commit is contained in:
Astrash committed 2023-11-25 15:07:45 +11:00
1 parent 5c7441241c
commit 4ba71e9c27
7 files changed
+20 -20

No files matched your search

@@ -41,7 +41,7 @@ public class YamlAddon implements AddonInitializer {
.register(addon, ConfigurationDiscoveryEvent.class)
.then(event -> {
try {
FileUtil.filesWithExtension(event.getPack().getPackDirectory(), ".yml")
FileUtil.filesWithExtension(event.getPack().getRootPath(), ".yml")
.forEach((key, value) -> {
LOGGER.debug("Discovered config {}", key);
try {