Commit Graph

2 Commits

Author SHA1 Message Date
sandtechnology 28b4027d45
Fix packet duplicating at some points (#8566)
Due to the weakly consistent of ConcurrentLinkedQueue iterator, at some points, packet will be resent twice times or more, causing some weird behaviors (e.g. kicked for illegal movement since the same ClientboundPlayerPositionPacket was sent two times). This changes for the patch add a flag for marking if the packet was consumed to prevent such issue and ensure consistently of the packet queue.
2022-11-27 10:36:35 -06:00
Jake Potrebic ab1c072320
Remove old redundant fix (#8530) 2022-11-03 14:03:31 -07:00