diff --git a/MinecraftClient/AutoTimeout.cs b/MinecraftClient/AutoTimeout.cs index abc263de..c0fe5368 100644 --- a/MinecraftClient/AutoTimeout.cs +++ b/MinecraftClient/AutoTimeout.cs @@ -15,7 +15,7 @@ namespace MinecraftClient /// Perform the specified action with specified timeout /// /// Action to run - /// Maximum timeout in milliseconds + /// Maximum timeout in milliseconds /// True if the action finished whithout timing out public static bool Perform(Action action, int timeout) { @@ -26,7 +26,7 @@ namespace MinecraftClient /// Perform the specified action with specified timeout /// /// Action to run - /// Maximum timeout + /// Maximum timeout /// True if the action finished whithout timing out public static bool Perform(Action action, TimeSpan timeout) { diff --git a/MinecraftClient/Protocol/Handlers/Protocol17.cs b/MinecraftClient/Protocol/Handlers/Protocol17.cs index 844d4102..a514ffc5 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol17.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol17.cs @@ -599,16 +599,9 @@ namespace MinecraftClient.Protocol.Handlers version = (tmp_name.Length == 2) ? tmp_name[1].Split('"')[0] : tmp_name[2].Split('"')[0]; //Automatic fix for BungeeCord 1.8 not properly reporting protocol version - if (protocolversion == 0 && version.Split(' ').Contains("1.8")) + if (protocolversion < 47 && version.Split(' ').Contains("1.8")) protocolversion = ProtocolHandler.MCVer2ProtocolVersion("1.8.0"); - if (result.Contains("modinfo\":")) - { - //Server is running Forge (which is not supported) - version = "Forge " + version; - protocolversion = 0; - } - ConsoleIO.WriteLineFormatted("§8Server version : " + version + " (protocol v" + protocolversion + ")."); return true; } diff --git a/MinecraftClient/config/README.txt b/MinecraftClient/config/README.txt index 34d56d80..f679f977 100644 --- a/MinecraftClient/config/README.txt +++ b/MinecraftClient/config/README.txt @@ -60,7 +60,7 @@ In scripts and remote control, no slash is needed to perform the command. - respawn : Use this to respawn if you are dead (like clicking "respawn" ingame) - log : display some text in the console (useful for scripts) - set varname=value : set a value which can be used as %varname% in further commands - - wait