mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Automatically download en_GB.lang from Mojang
- Removed en_US.lang checking since it does not exist anymore in assets - If Minecraft 1.6+ is not installed, download en_GB.lang from Mojang's servers
This commit is contained in:
parent
f6de2e4aee
commit
c826dd3b79
2 changed files with 50 additions and 8 deletions
|
|
@ -23,8 +23,9 @@ namespace MinecraftClient
|
|||
public static string SingleCommand = "";
|
||||
|
||||
//Other Settings
|
||||
public static string TranslationsFile_FromMCDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\.minecraft\assets\virtual\legacy\lang\en_US.lang";
|
||||
public static string TranslationsFile_FromMCDir_Alt = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\.minecraft\assets\virtual\legacy\lang\en_GB.lang";
|
||||
public static string TranslationsFile_FromMCDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\.minecraft\assets\virtual\legacy\lang\en_GB.lang";
|
||||
public static string TranslationsFile_Website_Index = "https://s3.amazonaws.com/Minecraft.Download/indexes/1.7.4.json";
|
||||
public static string TranslationsFile_Website_Download = "http://resources.download.minecraft.net";
|
||||
public static string TranslationsFile = "translations.lang";
|
||||
public static string Bots_OwnersFile = "bot-owners.txt";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue