mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Startup Optimization
This commit is contained in:
parent
3d13eb51e6
commit
c90ea0e92b
6 changed files with 104 additions and 70 deletions
|
|
@ -217,8 +217,7 @@ namespace MinecraftClient.Protocol
|
|||
//Load the external dictionnary of translation rules or display an error message
|
||||
if (System.IO.File.Exists(Language_File))
|
||||
{
|
||||
string[] translations = System.IO.File.ReadAllLines(Language_File);
|
||||
foreach (string line in translations)
|
||||
foreach (var line in File.ReadLines(Language_File))
|
||||
{
|
||||
if (line.Length > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue