mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Unix slashes in file path when using Mono
Bug report by MousePak
This commit is contained in:
parent
2907b9c587
commit
608eb8059c
2 changed files with 10 additions and 9 deletions
|
|
@ -100,7 +100,7 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
if (!System.IO.Directory.Exists("lang"))
|
||||
System.IO.Directory.CreateDirectory("lang");
|
||||
|
||||
string Language_File = "lang\\" + Settings.Language + ".lang";
|
||||
string Language_File = "lang" + (Program.isUsingMono ? '/' : '\\') + Settings.Language + ".lang";
|
||||
|
||||
//File not found? Try downloading language file from Mojang's servers?
|
||||
if (!System.IO.File.Exists(Language_File))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue