mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Change for vanilla whisper detection
- Before: Player whispers message - After: Player whispers to you: message
This commit is contained in:
parent
07ef031bb9
commit
7f65a5d69e
1 changed files with 2 additions and 2 deletions
|
|
@ -127,10 +127,10 @@ namespace MinecraftClient
|
|||
try
|
||||
{
|
||||
//Detect vanilla /tell messages
|
||||
//Someone whispers message
|
||||
//Someone whispers to you: message
|
||||
if (tmp.Length > 2 && tmp[1] == "whispers")
|
||||
{
|
||||
message = text.Substring(tmp[0].Length + 10);
|
||||
message = text.Substring(tmp[0].Length + 18);
|
||||
sender = tmp[0];
|
||||
return isValidName(sender);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue