mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Strip Minecraft Color Codes (§) in BasicIO-NoColor mode (#995)
Strip Minecraft color codes and formatting (§) if in BasicIO mode by using BasicIO-NoColor.
This commit is contained in:
parent
43c2b4b73b
commit
a018304f99
4 changed files with 16 additions and 2 deletions
|
|
@ -240,7 +240,7 @@ namespace MinecraftClient
|
|||
/// <summary>
|
||||
/// Remove color codes ("§c") from a text message received from the server
|
||||
/// </summary>
|
||||
protected static string GetVerbatim(string text)
|
||||
public static string GetVerbatim(string text)
|
||||
{
|
||||
if ( String.IsNullOrEmpty(text) )
|
||||
return String.Empty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue