Closed DimasKama closed 1 month ago
Thanks for this, I'll be looking at this in the coming month as I have exams.
Unless @enjarai wants to sort this out.
I'm not able to do proper testing right now, but the code looks good to me. It definitely makes sense to have something like this.
The main idea: do not completely reload the player entity for people with the mod installed.
For players with the mod, one packet is simply sent indicating that they need to update the play list entry, which contains the cached old skin.
I know you are working on updating the server side of the mod, this solution may be temporary until you come up with a better implementation.
Tested this on two local 1.20.4 clients with no other mods