mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Rename McTcpClient to McClient for clarity
+ Fix compile error in #1071
This commit is contained in:
parent
b52435f0ce
commit
2add4030f4
25 changed files with 36 additions and 36 deletions
|
|
@ -27,7 +27,7 @@ namespace MinecraftClient
|
|||
/// </remarks>
|
||||
static class Program
|
||||
{
|
||||
private static McTcpClient Client;
|
||||
private static McClient Client;
|
||||
public static string[] startupargs;
|
||||
|
||||
public const string Version = MCHighestVersion;
|
||||
|
|
@ -264,9 +264,9 @@ namespace MinecraftClient
|
|||
//Start the main TCP client
|
||||
if (Settings.SingleCommand != "")
|
||||
{
|
||||
Client = new McTcpClient(session.PlayerName, session.PlayerID, session.ID, Settings.ServerIP, Settings.ServerPort, protocolversion, forgeInfo, Settings.SingleCommand);
|
||||
Client = new McClient(session.PlayerName, session.PlayerID, session.ID, Settings.ServerIP, Settings.ServerPort, protocolversion, forgeInfo, Settings.SingleCommand);
|
||||
}
|
||||
else Client = new McTcpClient(session.PlayerName, session.PlayerID, session.ID, protocolversion, forgeInfo, Settings.ServerIP, Settings.ServerPort);
|
||||
else Client = new McClient(session.PlayerName, session.PlayerID, session.ID, protocolversion, forgeInfo, Settings.ServerIP, Settings.ServerPort);
|
||||
|
||||
//Update console title
|
||||
if (Settings.ConsoleTitle != "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue