3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-08 17:20:20 +01:00

Removed auto download and load of en_us

Dieser Commit ist enthalten in:
rtm516 2020-04-09 17:06:17 +01:00
Ursprung 64e0af48f9
Commit 013bca024c
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -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());
} }

Datei anzeigen

@ -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);
} }