Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement skinUsesKeyedProperties for 1.19.3+ #3548

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Pix3lPirat3
Copy link
Contributor

@Pix3lPirat3 Pix3lPirat3 commented Jan 9, 2025

player_info packet uses the key field for skin properties instead of name, Applies to Minecraft 1.19.3 and above.
awaiting response to PrismarineJS/minecraft-data#971

Also added a fix on servers that send extra properties which results in a JSON crash

player_info packet uses the key field for skin properties instead of name, Applies to Minecraft 1.19.3 and above
Patches an issue if the properties field passed to extractSkinInformation had extra fields it would fail to parse as JSON

[
    {
        "key": "cmlang",
        "value": "val",
        "signature": "null"
    },
    {
        "key": "lang_id",
        "value": "ru_RU",
        "signature": "8492534228807161"
    },
    {
        "key": "textures",
        "value": "e3RleHR1cmVzOntTS0lOOnt1cmw6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjY3MTY4NjIxZmRiMGNmM2Y3ZTU3Y2I1MTY2ZDQ4ZTllOWM4N2Q2Nzc0OTQzMzlmM2I4ZmVlYzhjM2EzNmIifX19",
        "signature": "H6Jo2IPL+9oc1RX9EjTwiGx1g36vwKE4s0Oi0/7xwpoy16+NmkF/JvVaGHe1qzef8aTKwa4CtcN0uh8B62xovaPgW/iBqzmVimYS0Z9Ehyzt2atf+rb23VLEHuzbi82gDeM0FP9pG0iqZj8eGzCfSvTp1RGjDiNJv7vB9QiNvzsF3ZLwNRo/1Bc73Wmn//1EkYkwRorecEQhnrsQSlemXP0bW+Q9PByFZfJZyhMXFDtbi+q/DAyPGZUnHqMr1i5sum9xr0un9PduLVR/GR1OMJXplevvGLYVJezWlL1jIYy2pNv3MaCBFW5ZgHP/pzaW4biMBcixWy4a5TE/HctQeOQ8yx4veSKBth193YqqHunqhQP1ZwO+XcdE8l4qibxOY4e2VD2ltc9lt4O9xU4z63YfdcPXHkBQSOhxfkXZF6QX1UhEhPpQiL6X5+pqoAXU85qbFT3g8K3caDwGDiM6ZSP+NyVm5W7RdWD1VPMhpW1klsPQr9PXSH5oIW2gADz7+YnFHzOnm2oFE0EhmWl0sN8RLDJkr+vGItz9r8EHoAFI0anEk5YE9wE7XHkSI90BUmpOXeGtchtuwpkc+WI1ErmwGPbZTsUlVqlv2xIEQ5e6IE9AIyzU3RRssEto/P1xpfRiGkmMxJqNHWG+hSj0Ks6eDzRci51PfczZSs/WjUo="
    }
]
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