From c7fa45644764dd3ace6546d80b71407a882494f7 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 9 Mar 2022 16:35:18 +0800 Subject: [PATCH] 1 --- webapp/models/Bag.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/models/Bag.php b/webapp/models/Bag.php index db0b19c2..8ca8fd2d 100644 --- a/webapp/models/Bag.php +++ b/webapp/models/Bag.php @@ -129,6 +129,7 @@ class Bag extends BaseModel { 'account_id' => myself()->_getAccountId(), 'item_id' => $itemId, 'item_num' => 1, + 'durability' => $itemMeta['init_durability'], 'rand_attr' => json_encode($randAttr), 'createtime' => myself()->_getNowTime(), 'modifytime' => myself()->_getNowTime()