[yggdrasil-connect] respond player name with correct capitalization during authentication #242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
皮肤站换用 yggdrasil-connect 后,不时有玩家反馈登入服务器时提示“验证用户名失败”。观察发现,当玩家在启动器登录账户时,如果使用了大小写错误的角色名登录,可以登录成功,但皮肤站
/authserver/authenticate返回的仍然时错误大小写的角色名,造成后续登入服务器时验证用户名失败。此 PR 通过比较
availableProfiles中的角色名和登录账户时使用的角色名,修复此问题。不过,我的原版 Minecraft 的行为不是很了解,错误大小写的角色名造成“验证用户名失败”是正常的吗?
另外,LittleSkin 似乎不存在此问题,可能是使用的 yggdrasil-connect 存在差异?