aa
This commit is contained in:
parent
0f087949b5
commit
72e59f80a8
@ -86,7 +86,7 @@ export class PlayerHandler {
|
||||
(idx >= 0) && this._pets.splice(idx, 1);
|
||||
};
|
||||
|
||||
public getPet(pet: Pet){
|
||||
public getPet(pet: Pet): PetHandler{
|
||||
return this._pets.find((item:PetHandler)=>{
|
||||
return item._pet == pet;
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user