common: Ignore directories when loading language files

This commit is contained in:
Oliver
2025-11-05 12:43:53 +01:00
parent f29bd13387
commit 455165b0f6
5 changed files with 7 additions and 4 deletions

View File

@@ -57,6 +57,9 @@ public class Translator {
} }
for (File langFile : langFiles) { for (File langFile : langFiles) {
if (!langFile.isFile()) {
continue;
}
if (!langFile.getName().endsWith(".yml")) { if (!langFile.getName().endsWith(".yml")) {
continue; continue;
} }

View File

@@ -1 +1 @@
0.0.29 0.0.30

View File

@@ -1 +1 @@
2.8.0.156 2.8.0.157

View File

@@ -1 +1 @@
3.0.0-SNAPSHOT.8 3.0.0-SNAPSHOT.9

View File

@@ -1 +1 @@
2.8.0.305 2.8.0.306