mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Fix a bug in message signature
This commit is contained in:
parent
bf3acb9cad
commit
34277e3fbd
2 changed files with 15 additions and 2 deletions
|
|
@ -595,7 +595,7 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
bool lastVerifyResult = player.IsMessageChainLegal();
|
||||
verifyResult = player.VerifyMessageHead(ref precedingSignature, ref headerSignature, ref bodyDigest);
|
||||
if (lastVerifyResult && !verifyResult)
|
||||
log.Warn("Player " + player.Name + "'s message chain is broken!");
|
||||
log.Warn(Translations.Get("chat.message_chain_broken", player.Name));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue