mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-18 11:54:59 -04:00
1.19: fix TabListS2CP public key reading
This commit is contained in:
parent
1677e9152a
commit
0306868cc7
@ -52,7 +52,7 @@ class TabListS2CP(buffer: PlayInByteBuffer) : PlayS2CPacket {
|
||||
} else {
|
||||
null
|
||||
}
|
||||
val publicKey = if (buffer.versionId >= ProtocolVersions.V_22W18A) buffer.readPlayerPublicKey() else null
|
||||
val publicKey = if (buffer.versionId >= ProtocolVersions.V_22W18A) buffer.readOptional { buffer.readPlayerPublicKey() } else null
|
||||
data = TabListItemData(
|
||||
name = name,
|
||||
properties = properties,
|
||||
|
Loading…
x
Reference in New Issue
Block a user