Commit 5895439a authored by KingRainbow44's avatar KingRainbow44
Browse files

Move shop data messages to `debug`

parent 19d81463
...@@ -84,7 +84,7 @@ public class ShopManager { ...@@ -84,7 +84,7 @@ public class ShopManager {
} }
getShopData().put(shopTable.getShopId(), shopTable.getItems()); getShopData().put(shopTable.getShopId(), shopTable.getItems());
} }
Grasscutter.getLogger().info("Shop data successfully loaded."); Grasscutter.getLogger().debug("Shop data successfully loaded.");
} else { } else {
Grasscutter.getLogger().error("Unable to load shop data. Shop data size is 0."); Grasscutter.getLogger().error("Unable to load shop data. Shop data size is 0.");
} }
...@@ -110,7 +110,7 @@ public class ShopManager { ...@@ -110,7 +110,7 @@ public class ShopManager {
List<ShopChestTable> shopChestTableList = Grasscutter.getGsonFactory().fromJson(fileReader, TypeToken.getParameterized(Collection.class, ShopChestTable.class).getType()); List<ShopChestTable> shopChestTableList = Grasscutter.getGsonFactory().fromJson(fileReader, TypeToken.getParameterized(Collection.class, ShopChestTable.class).getType());
if (shopChestTableList.size() > 0) { if (shopChestTableList.size() > 0) {
getShopChestData().addAll(shopChestTableList); getShopChestData().addAll(shopChestTableList);
Grasscutter.getLogger().info("ShopChest data successfully loaded."); Grasscutter.getLogger().debug("ShopChest data successfully loaded.");
} else { } else {
Grasscutter.getLogger().error("Unable to load ShopChest data. ShopChest data size is 0."); Grasscutter.getLogger().error("Unable to load ShopChest data. ShopChest data size is 0.");
} }
...@@ -125,7 +125,7 @@ public class ShopManager { ...@@ -125,7 +125,7 @@ public class ShopManager {
List<ShopChestBatchUseTable> shopChestBatchUseTableList = Grasscutter.getGsonFactory().fromJson(fileReader, TypeToken.getParameterized(Collection.class, ShopChestBatchUseTable.class).getType()); List<ShopChestBatchUseTable> shopChestBatchUseTableList = Grasscutter.getGsonFactory().fromJson(fileReader, TypeToken.getParameterized(Collection.class, ShopChestBatchUseTable.class).getType());
if (shopChestBatchUseTableList.size() > 0) { if (shopChestBatchUseTableList.size() > 0) {
getShopChestBatchUseData().addAll(shopChestBatchUseTableList); getShopChestBatchUseData().addAll(shopChestBatchUseTableList);
Grasscutter.getLogger().info("ShopChestBatchUse data successfully loaded."); Grasscutter.getLogger().debug("ShopChestBatchUse data successfully loaded.");
} else { } else {
Grasscutter.getLogger().error("Unable to load ShopChestBatchUse data. ShopChestBatchUse data size is 0."); Grasscutter.getLogger().error("Unable to load ShopChestBatchUse data. ShopChestBatchUse data size is 0.");
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment