mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 17:35:34 +00:00
适配新版Mihomo Api,修正更新时的角色id记录
This commit is contained in:
parent
11b793019c
commit
f19e59d518
@ -42,7 +42,7 @@ export default {
|
||||
lodash.forEach(data.avatars, (ds, id) => {
|
||||
let ret = HomoData.setAvatar(player, ds)
|
||||
if (ret) {
|
||||
player._update.push(ds.AvatarID)
|
||||
player._update.push(ds.avatarId)
|
||||
}
|
||||
})
|
||||
} catch (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user