diff --git a/MinecraftClient/Crypto/AesCfb8Stream.cs b/MinecraftClient/Crypto/AesCfb8Stream.cs index d50aaa54..dfa2dd78 100644 --- a/MinecraftClient/Crypto/AesCfb8Stream.cs +++ b/MinecraftClient/Crypto/AesCfb8Stream.cs @@ -1,9 +1,7 @@ using System; -using System.Collections.Concurrent; using System.IO; using System.Runtime.CompilerServices; using System.Security.Cryptography; -using System.Threading.Tasks; namespace MinecraftClient.Crypto { diff --git a/MinecraftClient/Mapping/MessageFilterType.cs b/MinecraftClient/Mapping/MessageFilterType.cs index c89444c0..9c3cfe1d 100644 --- a/MinecraftClient/Mapping/MessageFilterType.cs +++ b/MinecraftClient/Mapping/MessageFilterType.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MinecraftClient.Mapping +namespace MinecraftClient.Mapping { public enum MessageFilterType { diff --git a/MinecraftClient/Protocol/Message/ChatParser.cs b/MinecraftClient/Protocol/Message/ChatParser.cs index 4a98e76b..54df413b 100644 --- a/MinecraftClient/Protocol/Message/ChatParser.cs +++ b/MinecraftClient/Protocol/Message/ChatParser.cs @@ -144,7 +144,7 @@ namespace MinecraftClient.Protocol.Message if (message.isSystemChat) { if (Config.Signature.MarkSystemMessage) - color = "§§7▍§§r"; // Background Gray + color = "§7▌§r"; // Background Gray } else { @@ -153,18 +153,18 @@ namespace MinecraftClient.Protocol.Message if (Config.Signature.ShowModifiedChat && message.unsignedContent != null) { if (Config.Signature.MarkModifiedMsg) - color = "§§6▍§§r"; // Background Yellow + color = "§6▌§r"; // Background Yellow } else { if (Config.Signature.MarkLegallySignedMsg) - color = "§§2▍§§r"; // Background Green + color = "§2▌§r"; // Background Green } } else { if (Config.Signature.MarkIllegallySignedMsg) - color = "§§4▍§§r"; // Background Red + color = "§4▌§r"; // Background Red } } return color + text; diff --git a/MinecraftClient/Protocol/Message/LastSeenMessageList.cs b/MinecraftClient/Protocol/Message/LastSeenMessageList.cs index a068c6af..62b1227e 100644 --- a/MinecraftClient/Protocol/Message/LastSeenMessageList.cs +++ b/MinecraftClient/Protocol/Message/LastSeenMessageList.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Security.Permissions; using static MinecraftClient.Protocol.Message.LastSeenMessageList; namespace MinecraftClient.Protocol.Message diff --git a/MinecraftClient/Protocol/PlayerInfo.cs b/MinecraftClient/Protocol/PlayerInfo.cs index bb1a05df..74134068 100644 --- a/MinecraftClient/Protocol/PlayerInfo.cs +++ b/MinecraftClient/Protocol/PlayerInfo.cs @@ -1,9 +1,5 @@ using System; -using System.Collections.Generic; -using System.Data.SqlTypes; using System.Linq; -using System.Text; -using MinecraftClient.Protocol.Handlers; using MinecraftClient.Protocol.Message; using MinecraftClient.Protocol.ProfileKey; diff --git a/MinecraftClient/Protocol/ProfileKey/PrivateKey.cs b/MinecraftClient/Protocol/ProfileKey/PrivateKey.cs index dac1f520..c471a103 100644 --- a/MinecraftClient/Protocol/ProfileKey/PrivateKey.cs +++ b/MinecraftClient/Protocol/ProfileKey/PrivateKey.cs @@ -77,7 +77,7 @@ namespace MinecraftClient.Protocol.ProfileKey public byte[] SignMessage(string message, Guid playerUuid, Guid chatUuid, int messageIndex, DateTimeOffset timestamp, ref byte[] salt, AcknowledgedMessage[] lastSeenMessages) { byte[] bodySignData = KeyUtils.GetSignatureData_1_19_3(message, playerUuid, chatUuid, messageIndex, timestamp, ref salt, lastSeenMessages); - + return SignData(bodySignData); } diff --git a/MinecraftClient/Settings.cs b/MinecraftClient/Settings.cs index 4f0f045c..4407f937 100644 --- a/MinecraftClient/Settings.cs +++ b/MinecraftClient/Settings.cs @@ -798,7 +798,7 @@ namespace MinecraftClient ConsoleInteractive.ConsoleWriter.UseVT100ColorCode = General.ConsoleColorMode != ConsoleColorModeType.legacy_4bit; // Buffer - General.History_Input_Records = + General.History_Input_Records = ConsoleInteractive.ConsoleBuffer.SetBackreadBufferLimit(General.History_Input_Records); // Suggestion