-
-
Notifications
You must be signed in to change notification settings - Fork 799
Fix Cape Elytra textures #5968
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
base: master
Are you sure you want to change the base?
Fix Cape Elytra textures #5968
Conversation
| packet.setOldSkinName(""); | ||
| packet.setNewSkinName(skin.textureUrl()); | ||
| packet.setSkin(getSkin(session, skin.textureUrl(), skin, cape, geometry)); | ||
| packet.setSkin(getSkin(session, skin.textureUrl(), skin, cape, geometry, false, true)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick, maybeee use isPersona, isCapeOnClassic instead of false, true here...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont really see a reason for this considering java players are considered classic skins anyway
onebeastchris
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like "persona" is always false here, so i'm unsure what that's good for... esp if Geyser doesn't support those skins anyways :p
Does just setting the capeOnClassic property work? Would rather just change that tbh
| boolean isPersona = false; | ||
| boolean isCapeOnClassic = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these local variables? Doesn't seem like they're used for anything else
| .geometryData(geometry.geometryData().isBlank() ? GEOMETRY : geometry.geometryData()) | ||
| .premium(true) | ||
| .capeId(cape.capeId()) | ||
| .fullSkinId(skinId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this removed?
|
i think it does, will clean up this pr when i get the time |
Closes #4374.
However, due to a bug in the Bedrock Edition client, the elytras will swap with another player (see video below).
ScreenRecording_11-04-2025_19-58-25_1.mov