mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-19 12:25:12 -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 {
|
} else {
|
||||||
null
|
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(
|
data = TabListItemData(
|
||||||
name = name,
|
name = name,
|
||||||
properties = properties,
|
properties = properties,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user