Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-06 00:00:47 +01:00
Fix unsigned chat breaking decode on PlayerChat. (#730)
Dieser Commit ist enthalten in:
Ursprung
c2b237f196
Commit
04d3ed6820
@ -88,7 +88,7 @@ public class PlayerChat implements MinecraftPacket {
|
||||
salt = Longs.toByteArray(saltLong);
|
||||
signature = signatureBytes;
|
||||
expiry = Instant.ofEpochMilli(expiresAt);
|
||||
} else if (saltLong == 0L && signature.length == 0) {
|
||||
} else if (saltLong == 0L && signatureBytes.length == 0) {
|
||||
unsigned = true;
|
||||
} else {
|
||||
throw EncryptionUtils.INVALID_SIGNATURE;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren