From b73f619452e51c62c37bc55b611490a7bede8fdd Mon Sep 17 00:00:00 2001 From: Moneylover3246 <66443019+Moneylover3246@users.noreply.github.com> Date: Mon, 28 Feb 2022 18:41:33 -0500 Subject: [PATCH] Cleanup #2 --- Crossplay/CrossplayPlugin.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Crossplay/CrossplayPlugin.cs b/Crossplay/CrossplayPlugin.cs index 7f0337d..09722a7 100644 --- a/Crossplay/CrossplayPlugin.cs +++ b/Crossplay/CrossplayPlugin.cs @@ -176,7 +176,7 @@ private void OnPostInitialize(EventArgs e) StringBuilder sb = new StringBuilder(); sb.Append("Crossplay has been enabled & has whitelisted the following versions:\n"); sb.Append(string.Join(", ", AllowedVersions.Select(v => ParseVersion(v)))); - sb.Append("\nIf there are any issues please report them here: https://github.com/Moneylover3246/Crossplay"); + sb.Append("\n\nIf there are any issues please report them here: https://github.com/Moneylover3246/Crossplay"); Console.ForegroundColor = ConsoleColor.Magenta; Console.WriteLine("-------------------------------------"); @@ -197,8 +197,8 @@ private void OnGetData(GetDataEventArgs args) { if ((int)args.MsgID == 1) { - string versionstring = reader.ReadString(); - if (!int.TryParse(versionstring.Substring(versionstring.Length - 3), out int versionNum)) + string clientVersion = reader.ReadString(); + if (!int.TryParse(clientVersion.Substring(clientVersion.Length - 3), out int versionNum)) { return; }