Removed auto download and load of en_us

This commit is contained in:
rtm516 2020-04-09 17:06:17 +01:00
parent 64e0af48f9
commit 013bca024c
2 changed files with 3 additions and 3 deletions

View file

@ -254,6 +254,9 @@ public class GeyserSession implements CommandSender {
playerEntity.setUuid(protocol.getProfile().getId()); playerEntity.setUuid(protocol.getProfile().getId());
playerEntity.setUsername(protocol.getProfile().getName()); playerEntity.setUsername(protocol.getProfile().getName());
// Should probably let the user know if there locale is
// en_us that it might take time to download it
// Download and load the language for the player // Download and load the language for the player
LocaleUtils.downloadAndLoadLocale(clientData.getLanguageCode()); LocaleUtils.downloadAndLoadLocale(clientData.getLanguageCode());
} }

View file

@ -58,9 +58,6 @@ public class LocaleUtils {
// Download the latest asset list and cache it // Download the latest asset list and cache it
generateAssetCache(); generateAssetCache();
if (!DEFAULT_LOCALE.equals("en_us")) {
downloadAndLoadLocale("en_us");
}
downloadAndLoadLocale(DEFAULT_LOCALE); downloadAndLoadLocale(DEFAULT_LOCALE);
} }