Skip to content

Commit

Permalink
minecraft/dial.go: Send 0.0.0 if SkinGeometryVersion is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistedAsylumMC committed Apr 17, 2024
1 parent 25a6403 commit 0251fcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions minecraft/dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,9 @@ func defaultClientData(address, username string, d *login.ClientData) {
if d.SkinGeometry == "" {
d.SkinGeometry = base64.StdEncoding.EncodeToString(skinGeometry)
}
if d.SkinGeometryVersion == "" {
d.SkinGeometryVersion = base64.StdEncoding.EncodeToString([]byte("0.0.0"))
}
}

// setAndroidData ensures the login.ClientData passed matches settings you would see on an Android device.
Expand Down

0 comments on commit 0251fcd

Please sign in to comment.