Skip to content

Fix packet flood guard and 1.21.11 player outer skin display and player main hand - #277

Open
perrylin4 wants to merge 2 commits into
Elytrium:masterfrom
ChorusStudio:master
Open

Fix packet flood guard and 1.21.11 player outer skin display and player main hand#277
perrylin4 wants to merge 2 commits into
Elytrium:masterfrom
ChorusStudio:master

Conversation

@perrylin4

Copy link
Copy Markdown

VIBE CODED! this PR does not guarantee code quality!!!
Fix flood guard which used to kick player after they AFK for a long time because genericBytes only accumulate but no reset.
Fix player setting appear default (no double layer skin and right-handed) on 1.21.11(maybe other version also works, but this PR only resolves 1.21.11)
this PR construct a ClientboundSetEntityDataPacket itself and send to player when players enter limbo or change their skin settings.

@perrylin4 perrylin4 changed the title Fix packet flood guard and 1.21.11 player out skin display and player main hand Fix packet flood guard and 1.21.11 player outer skin display and player main hand Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant