mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Show links embedded in chat
Allows clicking if supported by terminal, or at least copy and paste to web browser. Suggestion by brkmrr9 in #207
This commit is contained in:
parent
9cd983c50d
commit
1180c06b1f
6 changed files with 59 additions and 28 deletions
|
|
@ -257,7 +257,8 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
break;
|
||||
}
|
||||
catch (ArgumentOutOfRangeException) { /* No message type */ }
|
||||
handler.OnTextReceived(ChatParser.ParseText(message));
|
||||
List<string> links = new List<string>();
|
||||
handler.OnTextReceived(ChatParser.ParseText(message, links), links);
|
||||
break;
|
||||
case PacketIncomingType.Respawn:
|
||||
this.currentDimension = readNextInt(packetData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue