Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Feature/invisible players #550

Merged
merged 5 commits into from
May 4, 2020
Merged

Feature/invisible players #550

merged 5 commits into from
May 4, 2020

Conversation

james090500
Copy link
Contributor

This fixes most invisible player issues caused by a null game profile on some player list packets. I also added a default cape texture as returning an ImageData.EMPTY will cause elytras to be invisible. Then also fixed cape scaling as bedrock only support 64x32 capes.

Also reverted skins being disabled in offline auth.

Fixed invisible elytras with no skin
Removed offline code
@james090500 james090500 marked this pull request as draft May 2, 2020 14:09
@james090500 james090500 marked this pull request as ready for review May 2, 2020 14:34
@lukeeey
Copy link
Member

lukeeey commented May 2, 2020

elytras display fine on myself...maybe you could check what capedata the client sends when no cape is applied?

@lukeeey
Copy link
Member

lukeeey commented May 2, 2020

Surely if you set an elytra as the cape it will display an elytra at all times

@james090500
Copy link
Contributor Author

When I tested, players who did not have an cape, when wearing an elytra it appears invisible. Elytras are included on the cape texture. I thought this to be due to serializing a skin with the cape set to ImageData.EMPTY.

Also, elytras display fine on yourself

See the example below. However I may have been wrong.
image

@lukeeey lukeeey merged commit b741bbd into DragonetMC:rewrite May 4, 2020
@james090500 james090500 deleted the feature/invisible-players branch May 4, 2020 12:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants