From bf734ed7e5023bc5f35089dc047327a1e7d79bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=91=E5=8F=B8=E5=91=BD?= <79201070+Controllerdestiny@users.noreply.github.com> Date: Sat, 8 Jun 2024 19:23:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20Economics.Shop=20?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E7=89=A9=E5=93=81=E6=9D=A1=E4=BB=B6=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Economics.Shop/Shop.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Economics.Shop/Shop.cs b/Economics.Shop/Shop.cs index 4814790f6..cd6a95029 100644 --- a/Economics.Shop/Shop.cs +++ b/Economics.Shop/Shop.cs @@ -79,7 +79,7 @@ private static void CheckBanksForItem(TSPlayer player, int itemId, ref int itemC { if (player.TPlayer.inventory[j].type == itemId)// 检查猪猪储钱罐 { - itemCount += player.TPlayer.bank.item[j].stack; + itemCount += player.TPlayer.inventory[j].stack; } } }