juliarn / npc-lib

Asynchronous, high-performance Minecraft NPC library for 1.8-1.21 servers.
MIT License
320 stars 50 forks source link

NPCs always have Optifine cape when enabling skin layers #33

Closed justlunix closed 3 years ago

justlunix commented 3 years ago

For some reason, no matter what minecraft user I use, once I enable skin layers, all of them get an optifine cape.

I first thought this is because of me using Optifine, but it even shows to players connected to the server via Geyser who do not use Optifine.

image

Why is that and how can this be fixed?

juliarn commented 3 years ago

Optifine displays the capes based on the username of the player, so enabling skin layers should show capes, but only when NPCs have the same name a user with an Optifine cape has too.

justlunix commented 3 years ago

But why are these capes visible to players without using Optifine? E.g. when I join on the server through Geyser using Minecraft Bedrock Edition.

And, I do not own any optifine cape and neither does any of the players that I've tested this with.

justlunix commented 3 years ago

https://github.com/GeyserMC/Geyser/issues/659#issuecomment-696611773

Seems to be related to Geyser Proxy, sorry. Closing