version: requiresSignedChat

This commit is contained in:
Bixilon 2022-05-14 22:16:13 +02:00
parent c4d2d904e4
commit 2d3cdefe74
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -61,4 +61,5 @@ class Version(
val maxPacketLength get() = (versionId < ProtocolVersions.V_1_17_1_RC2).decide(1 shl 21, 1 shl 23)
val maxChatMessageSize get() = (versionId < ProtocolVersions.V_16W38A).decide(100, 256)
val hasAttackCooldown get() = versionId >= ProtocolVersions.V_15W34A
val requiresSignedChat get() = versionId >= ProtocolVersions.V_22W17A
}