mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Make sure we fallback to en_US. Fixes #474
This commit is contained in:
@@ -247,6 +247,7 @@ public class VelocityServer implements ProxyServer, ForwardingAudience {
|
||||
private void registerTranslations() {
|
||||
final TranslationRegistry translationRegistry = TranslationRegistry
|
||||
.create(Key.key("velocity", "translations"));
|
||||
translationRegistry.defaultLocale(Locale.US);
|
||||
try {
|
||||
FileSystemUtils.visitResources(VelocityServer.class,
|
||||
Paths.get("com", "velocitypowered", "proxy", "l10n"), path -> {
|
||||
|
||||
Reference in New Issue
Block a user