From afb4c24322bdd7e027230fae3cc4fdbc77c7f17e Mon Sep 17 00:00:00 2001 From: xichaoyin Date: Thu, 11 Jan 2024 22:36:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=9A=AE=E8=82=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/public/player.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/player.ts b/src/public/player.ts index 3a8f49c..498f8f9 100644 --- a/src/public/player.ts +++ b/src/public/player.ts @@ -608,12 +608,12 @@ export class PlayerFun { } } if (Object.keys(upskin).length > 0) { - this.addAttr(call, { heroskin: Object.assign(heroskin, upskin) }); + await this.addAttr(call, { heroskin: Object.assign(heroskin, upskin) }); } // 皮肤存在转换为其他奖励 if (prize.length > 0) { - this.sendPrize(call, prize); + await this.sendPrize(call, prize); } }