From f481632890b1706d1e4d178fe178fff2097b70f4 Mon Sep 17 00:00:00 2001 From: Yamato Date: Mon, 26 Feb 2024 11:28:12 +0100 Subject: [PATCH] Ansi --- Exiled.Events/Patches/Generic/ConsoleColorPatched.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exiled.Events/Patches/Generic/ConsoleColorPatched.cs b/Exiled.Events/Patches/Generic/ConsoleColorPatched.cs index 454d0fc863..361b602c3c 100644 --- a/Exiled.Events/Patches/Generic/ConsoleColorPatched.cs +++ b/Exiled.Events/Patches/Generic/ConsoleColorPatched.cs @@ -97,7 +97,7 @@ private static string ClosestAnsiColor(Color32 color, bool isBackgroundColor = f int closestColor = 37; // Default to reset double closestDistance = double.MaxValue; - // Calculate distance from given color to each Bukkit API color + // Calculate distance from given color to each Ansi color foreach (KeyValuePair AnsiColor in AnsiColors) { double distance = Math.Pow(color.r - AnsiColor.Key.r, 2) +