diff --git a/MinecraftClient/ChatBot.cs b/MinecraftClient/ChatBot.cs
index 4f027e30..b5300a48 100644
--- a/MinecraftClient/ChatBot.cs
+++ b/MinecraftClient/ChatBot.cs
@@ -535,7 +535,7 @@ namespace MinecraftClient
/// Disconnect from the server and restart the program
/// It will unload and reload all the bots and then reconnect to the server
///
- /// In case of failure, maximum extra attempts before aborting
+ /// In case of failure, maximum extra attempts before aborting
/// Optional delay, in seconds, before restarting
protected void ReconnectToTheServer(int ExtraAttempts = 3, int delaySeconds = 0)
{
diff --git a/MinecraftClient/ConsoleIO.cs b/MinecraftClient/ConsoleIO.cs
index 225416a9..2ed377d6 100644
--- a/MinecraftClient/ConsoleIO.cs
+++ b/MinecraftClient/ConsoleIO.cs
@@ -312,7 +312,7 @@ namespace MinecraftClient
///
/// String to write
/// If false, space are printed instead of newlines
- ///
+ ///
/// If false, no timestamp is prepended.
/// If true, "hh-mm-ss" timestamp will be prepended.
/// If unspecified, value is retrieved from EnableTimestamps.
diff --git a/MinecraftClient/Crypto/CryptoHandler.cs b/MinecraftClient/Crypto/CryptoHandler.cs
index ae46ccf5..c917ec17 100644
--- a/MinecraftClient/Crypto/CryptoHandler.cs
+++ b/MinecraftClient/Crypto/CryptoHandler.cs
@@ -16,7 +16,7 @@ namespace MinecraftClient.Crypto
///
/// Get a cryptographic service for encrypting data using the server's RSA public key
///
- /// Byte array containing the encoded key
+ /// Byte array containing the encoded key
/// Returns the corresponding RSA Crypto Service
public static RSACryptoServiceProvider DecodeRSAPublicKey(byte[] x509key)
diff --git a/MinecraftClient/McTcpClient.cs b/MinecraftClient/McTcpClient.cs
index e8ff5a7f..287e8d41 100644
--- a/MinecraftClient/McTcpClient.cs
+++ b/MinecraftClient/McTcpClient.cs
@@ -287,7 +287,6 @@ namespace MinecraftClient
/// Perform an internal MCC command (not a server command, use SendText() instead for that!)
///
/// The command
- /// Set to true if command was sent by the user using the command prompt
/// May contain a confirmation or error message after processing the command, or "" otherwise.
/// TRUE if the command was indeed an internal MCC command
public bool PerformInternalCommand(string command, ref string response_msg)
@@ -565,7 +564,7 @@ namespace MinecraftClient
/// or if a ChatBot whishes to update the player's location.
///
/// The new location
- /// Block coordinates to look at
+ /// Block coordinates to look at
public void UpdateLocation(Location location, Location lookAtLocation)
{
double dx = lookAtLocation.X - (location.X - 0.5);
@@ -640,7 +639,6 @@ namespace MinecraftClient
///
/// Text received
/// TRUE if the text is JSON-Encoded
- /// Links embedded in text
public void OnTextReceived(string text, bool isJson)
{
lock (lastKeepAliveLock)
diff --git a/MinecraftClient/Protocol/Handlers/DataTypes.cs b/MinecraftClient/Protocol/Handlers/DataTypes.cs
index f8935a7b..9912d308 100644
--- a/MinecraftClient/Protocol/Handlers/DataTypes.cs
+++ b/MinecraftClient/Protocol/Handlers/DataTypes.cs
@@ -267,6 +267,7 @@ namespace MinecraftClient.Protocol.Handlers
/// The integer
public int ReadNextVarInt(List cache)
{
+ string rawData = BitConverter.ToString(cache.ToArray());
int i = 0;
int j = 0;
int k = 0;
@@ -274,7 +275,7 @@ namespace MinecraftClient.Protocol.Handlers
{
k = ReadNextByte(cache);
i |= (k & 0x7F) << j++ * 7;
- if (j > 5) throw new OverflowException("VarInt too big");
+ if (j > 5) throw new OverflowException("VarInt too big " + rawData);
if ((k & 0x80) != 128) break;
}
return i;
diff --git a/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs b/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs
index 6e452439..facc7b65 100644
--- a/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs
+++ b/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs
@@ -25,8 +25,8 @@ namespace MinecraftClient.Protocol.Handlers
/// Initialize a new Forge protocol handler
///
/// Forge Server Information
- /// Minecraft protocol version
- /// Minecraft data types handler
+ /// Minecraft protocol version
+ /// Minecraft data types handler
public Protocol18Forge(ForgeInfo forgeInfo, int protocolVersion, DataTypes dataTypes, Protocol18Handler protocol18, IMinecraftComHandler mcHandler)
{
this.forgeInfo = forgeInfo;
@@ -102,7 +102,7 @@ namespace MinecraftClient.Protocol.Handlers
///
/// Plugin message channel
/// Plugin message data
- /// Current world dimension
+ /// Current world dimension
/// TRUE if the plugin message was recognized and handled
public bool HandlePluginMessage(string channel, List packetData, ref int currentDimension)
{
diff --git a/MinecraftClient/Protocol/IMinecraftCom.cs b/MinecraftClient/Protocol/IMinecraftCom.cs
index 1a3c8c2e..0e5d55e8 100644
--- a/MinecraftClient/Protocol/IMinecraftCom.cs
+++ b/MinecraftClient/Protocol/IMinecraftCom.cs
@@ -25,7 +25,6 @@ namespace MinecraftClient.Protocol
///
/// Disconnect from the server
///
- /// Reason
void Disconnect();
///