mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Pin minimessage snapshot version, fix locale loading
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -141,7 +141,7 @@ public final class CarbonMessageSource implements IMessageSource<Audience, Strin
|
|||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
Files.walk(localeDirectory).forEach(path -> {
|
Files.walk(localeDirectory).filter(Files::isRegularFile).forEach(path -> {
|
||||||
final String localeString = path.getFileName().toString().substring("messages-".length()).replace(".properties", "");
|
final String localeString = path.getFileName().toString().substring("messages-".length()).replace(".properties", "");
|
||||||
final @Nullable Locale locale = Translator.parseLocale(localeString.replace("nb_NO", "no_NO"));
|
final @Nullable Locale locale = Translator.parseLocale(localeString.replace("nb_NO", "no_NO"));
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ versions:
|
|||||||
licenser: 0.6.1
|
licenser: 0.6.1
|
||||||
shadow: 7.1.1
|
shadow: 7.1.1
|
||||||
adventure: 4.9.3
|
adventure: 4.9.3
|
||||||
minimessage: 4.10.0-SNAPSHOT
|
minimessage: 4.10.0-20220207.012501-47
|
||||||
cloud: 1.7.0-SNAPSHOT
|
cloud: 1.7.0-SNAPSHOT
|
||||||
configurate: 4.1.2
|
configurate: 4.1.2
|
||||||
typesafeConfig: 1.4.1
|
typesafeConfig: 1.4.1
|
||||||
|
|||||||
Reference in new issue
Block a user