mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
common: Ignore directories when loading language files
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
0.0.29
|
0.0.30
|
||||||
@@ -1 +1 @@
|
|||||||
2.8.0.156
|
2.8.0.157
|
||||||
@@ -1 +1 @@
|
|||||||
3.0.0-SNAPSHOT.8
|
3.0.0-SNAPSHOT.9
|
||||||
@@ -1 +1 @@
|
|||||||
2.8.0.305
|
2.8.0.306
|
||||||
Reference in New Issue
Block a user