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

Unable to display skin parts on fake players (Paper 1.14) #669

Open
bicrypt opened this issue Aug 12, 2019 · 0 comments

Comments

@bicrypt
Copy link

commented Aug 12, 2019

Make sure you've done the following:

  • You're using the latest build for your server version
  • This isn't an issue caused by another plugin
  • You've checked for duplicate issues
  • You didn't use /reload

Debug paste link:
Pastebin link

Description and relevant errors:
I have legacy 1.8 code which I now want to make compatible with 1.14 and its new protocol. So I was editing my FakePlayer protocol part and noticed that the skin parts don't show even if I explicitly set them to be shown. The fake player spawns without issue and displays the right skin but all skin parts are "turned off". I have looked into the wiki.vg page and sent the appropriate bitmask for the skin parts as defined there.

I will provide a code snippet here which contains all the code I currently use in my project regarding spawning of fake players. (Note: The DataWatcher part starts at line 190, if you would like to jump right there. Spawning starts at line 119.)

As you can see in the code: I try to send the skin parts several times (once at entity spawn, and twice as metadata packets), but they won't show. On spigot 1.8 I sent the same bitmask on index 10 and it worked there, but ofc this index doesn't work with 1.14 now.

I would really appreciate it if you could find the time to look into this and tell me if I did something wrong here or if this is a bug by wiki.vg or ProtocolLib.

Kind Regards,
Max

@bicrypt bicrypt changed the title Unable to properly display skin parts/layers (Paper 1.14, PLib 4.5.0) Unable to display skin parts on fake players (Paper 1.14) Aug 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.