mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
commit
ccc2fd57b4
3 changed files with 10 additions and 7 deletions
2
MinecraftClient/.gitignore
vendored
2
MinecraftClient/.gitignore
vendored
|
|
@ -1,2 +1,4 @@
|
|||
/bin/
|
||||
/obj/
|
||||
MinecraftClient.sln
|
||||
MinecraftClient.v11.suo
|
||||
|
|
@ -171,7 +171,7 @@ namespace MinecraftClient
|
|||
}
|
||||
else
|
||||
{
|
||||
if (text == "/quit" || text == "/reco" || text == "/reconnect") { break; }
|
||||
if (text.ToLower() == "/quit" || text.ToLower().StartsWith("/exec ") || text.ToLower() == "/reco" || text.ToLower() == "/reconnect") { break; }
|
||||
while (text.Length > 0 && text[0] == ' ') { text = text.Substring(1); }
|
||||
if (text != "")
|
||||
{
|
||||
|
|
@ -200,13 +200,18 @@ namespace MinecraftClient
|
|||
}
|
||||
}
|
||||
|
||||
if (text == "/quit")
|
||||
if (text.ToLower() == "/quit")
|
||||
{
|
||||
ConsoleIO.WriteLine("You have left the server.");
|
||||
Disconnect();
|
||||
}
|
||||
|
||||
else if (text == "/reco" || text == "/reconnect")
|
||||
else if (text.ToLower().StartsWith("/exec ")) {
|
||||
handler.BotLoad(new Bots.Scripting("config/" + text.Split()[1]));
|
||||
}
|
||||
|
||||
|
||||
else if (text.ToLower() == "/reco" || text.ToLower() == "/reconnect")
|
||||
{
|
||||
ConsoleIO.WriteLine("You have left the server.");
|
||||
handler.SendRespawnPacket();
|
||||
|
|
|
|||
|
|
@ -60,10 +60,6 @@
|
|||
</PropertyGroup>
|
||||
<PropertyGroup />
|
||||
<ItemGroup>
|
||||
<Reference Include="BouncyCastle.Crypto, Version=1.7.4114.6375, Culture=neutral, PublicKeyToken=0e99375e54769942">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>.\BouncyCastle.Crypto.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="IKVM.OpenJDK.Core, Version=7.0.4335.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>.\IKVM.OpenJDK.Core.dll</HintPath>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue