Closed deirn closed 6 months ago
It is possible to send minecraft:register packet in a other task than SendChannelsTask, but every time the server receives it it tries to finish that task, this makes it disconnect. https://github.com/QuiltMC/quilt-standard-libraries/blob/e95b44020498e61ad7175f303814549405b6868b/library/core/networking/src/main/java/org/quiltmc/qsl/networking/impl/server/ServerConfigurationNetworkAddon.java#L80-L88
minecraft:register
SendChannelsTask
The one that finishes the task on pong packet is checked as intended. https://github.com/QuiltMC/quilt-standard-libraries/blob/e95b44020498e61ad7175f303814549405b6868b/library/core/networking/src/main/java/org/quiltmc/qsl/networking/mixin/AbstractServerPacketHandlerMixin.java#L59-L66
pong
Changing the first one to also check for instance should fix the issue.
Ah, thank you! For some reason, I totally forgot about that case. Should be a fairly easy fix!
It is possible to send
minecraft:register
packet in a other task thanSendChannelsTask
, but every time the server receives it it tries to finish that task, this makes it disconnect. https://github.com/QuiltMC/quilt-standard-libraries/blob/e95b44020498e61ad7175f303814549405b6868b/library/core/networking/src/main/java/org/quiltmc/qsl/networking/impl/server/ServerConfigurationNetworkAddon.java#L80-L88The one that finishes the task on
pong
packet is checked as intended. https://github.com/QuiltMC/quilt-standard-libraries/blob/e95b44020498e61ad7175f303814549405b6868b/library/core/networking/src/main/java/org/quiltmc/qsl/networking/mixin/AbstractServerPacketHandlerMixin.java#L59-L66Changing the first one to also check for instance should fix the issue.