This commit is contained in:
DBotThePony 2024-08-31 16:06:45 +07:00
parent c4b7f6e78e
commit 17d08bd901
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -1775,7 +1775,7 @@ object MatterManager {
/** /**
* Delay sending by one server tick; * Delay sending by one server tick;
* this way client is guaranteed to be in "PLAY" state, with local player present. * this way client is guaranteed to be in "PLAY" state, with local player present.
* This hack is required because we manually compressing and splitting packet between multiple payloads, * This hack is required because we manually compress and split packet between multiple payloads (to avoid max packet size limit),
* hence it is impossible to "read" parsed data from network directly, using provided RegistryFriendlyByteBuf. * hence it is impossible to "read" parsed data from network directly, using provided RegistryFriendlyByteBuf.
*/ */
onceServer { onceServer {