Sandertv / gophertunnel

General purpose library for Minecraft Bedrock Edition software written in Go
MIT License
419 stars 95 forks source link

reverse defaultclientdata and defaultidentitydata #165

Closed HashimTheArab closed 1 year ago

HashimTheArab commented 1 year ago

Client data relies on identity data, but the identity data is being set after

so if the user passes a blank DisplayName in then identity data would set it to "Steve", but this would happen after setting the client data, leading to ThirdPartyName and DisplayName mismatching