修正下发随从的时, 无法获取随从的bug
This commit is contained in:
parent
f32117aa05
commit
d9c9590712
@ -46,7 +46,7 @@ Object.defineProperties(Room.prototype, {
|
||||
let obj = data.data;
|
||||
let pid = obj.player;
|
||||
let player = this.state.players.get(pid);
|
||||
let pet = player.pets.get(obj.pos);
|
||||
let pet = player.pets.get(obj.pos + '');
|
||||
pet.id = obj.id;
|
||||
pet.ap = obj.ap;
|
||||
pet.extAp = obj.extAp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user