-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
bugSomething isn't workingSomething isn't working
Description
如题,在通过角色名查询角色属性时,Yggdrasil API 插件返回的角色名的大小写会根据请求中的角色名来,而非根据实际的角色名来:
blessing-skin-plugins/plugins/yggdrasil-api/src/Controllers/ProfileController.php
Lines 75 to 78 in 0728387
| $profiles[] = [ | |
| 'id' => $profile->uuid, | |
| 'name' => $name, | |
| ]; |
blessing-skin-plugins/plugins/yggdrasil-api/src/Controllers/ProfileController.php
Lines 94 to 97 in 0728387
| return [ | |
| 'id' => $profile->uuid, | |
| 'name' => $username, | |
| ]; |
该行为与 Mojang 官方实现不符。
并且,在 UUID 算法为 v3 时,正常情况下,根据角色名的大小写不同,生成的 UUID 也不同,该行为会导致验证服务器返回的 UUID 与正确计算结果不符。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
