From 5d97bbfd55838f792fd65ae04935d604cda0dfeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=ED=8C=90=EB=8F=8C?= Date: Sat, 23 Mar 2024 00:07:26 +0900 Subject: [PATCH] =?UTF-8?q?git=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/Git/AbstractGit.cs | 6 ++++++ Server/SQL/ResetShopItemData.cs | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Server/Git/AbstractGit.cs b/Server/Git/AbstractGit.cs index 3a34ed4..38b2e80 100644 --- a/Server/Git/AbstractGit.cs +++ b/Server/Git/AbstractGit.cs @@ -168,21 +168,27 @@ namespace Server.Git public void DataSet() { int index = -1; + index = sheets.FindIndex(n => n.name == Statics.equipmentExcel.sheetName); if(index != -1) Statics.equipmentExcel.init(sheets[index]); + index = sheets.FindIndex(n => n.name == Statics.randomRewardExcel.sheetName); if (index != -1) Statics.randomRewardExcel.init(sheets[index]); + index = sheets.FindIndex(n => n.name == Statics.rewardExcel.sheetName); if (index != -1) Statics.rewardExcel.init(sheets[index]); + index = sheets.FindIndex(n => n.name == Statics.shopItemExcel.sheetName); if (index != -1) Statics.shopItemExcel.init(sheets[index]); + index = sheets.FindIndex(n => n.name == Statics.consumableItemExcel.sheetName); if (index != -1) Statics.consumableItemExcel.init(sheets[index]); + index = sheets.FindIndex(n => n.name == Statics.resetShopItemExcel.sheetName); if (index != -1) Statics.resetShopItemExcel.init(sheets[index]); diff --git a/Server/SQL/ResetShopItemData.cs b/Server/SQL/ResetShopItemData.cs index afbe222..044d3f2 100644 --- a/Server/SQL/ResetShopItemData.cs +++ b/Server/SQL/ResetShopItemData.cs @@ -33,7 +33,6 @@ namespace Server.SQL public void init(Sheet data) { this.resetShopItemData = new Dictionary(); - Console.WriteLine($"----------------------------{sheetName}----------------------------"); foreach (var item in data.dicViewer) { ResetShopItemData resetShopItemData = new ResetShopItemData();