mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-22 08:57:43 +01:00
Checkstyle strikes again!
This commit is contained in:
@@ -249,8 +249,7 @@ public class VelocityServer implements ProxyServer, ForwardingAudience {
|
||||
.create(Key.key("velocity", "translations"));
|
||||
translationRegistry.defaultLocale(Locale.US);
|
||||
try {
|
||||
FileSystemUtils.visitResources(VelocityServer.class,
|
||||
"com/velocitypowered/proxy/l10n", path -> {
|
||||
FileSystemUtils.visitResources(VelocityServer.class, path -> {
|
||||
logger.info("Loading localizations...");
|
||||
|
||||
try {
|
||||
@@ -278,7 +277,7 @@ public class VelocityServer implements ProxyServer, ForwardingAudience {
|
||||
} catch (IOException e) {
|
||||
logger.error("Encountered an I/O error whilst loading translations", e);
|
||||
}
|
||||
});
|
||||
}, "com", "velocitypowered", "proxy", "l10n");
|
||||
} catch (IOException e) {
|
||||
logger.error("Encountered an I/O error whilst loading translations", e);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user