forked from GeyserMC/Geyser
Removed auto download and load of en_us
This commit is contained in:
parent
64e0af48f9
commit
013bca024c
2 changed files with 3 additions and 3 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue