mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
1.19.3 Chat command signing support & Update chat paser
This commit is contained in:
parent
fe0b268878
commit
0ce9690778
6 changed files with 164 additions and 103 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.Permissions;
|
||||
using static MinecraftClient.Protocol.Message.LastSeenMessageList;
|
||||
|
||||
|
|
@ -120,7 +121,7 @@ namespace MinecraftClient.Protocol.Message
|
|||
{
|
||||
// net.minecraft.network.message.LastSeenMessagesCollector#add(net.minecraft.network.message.MessageSignatureData, boolean)
|
||||
// net.minecraft.network.message.LastSeenMessagesCollector#add(net.minecraft.network.message.AcknowledgedMessage)
|
||||
if (entry == lastEntry)
|
||||
if (lastEntry != null && entry.signature.SequenceEqual(lastEntry.signature))
|
||||
return false;
|
||||
lastEntry = entry;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue