Skip to content

Commit c61fea7

Browse files
committed
カプセルミス修正
1 parent ef24c93 commit c61fea7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/dev/felnull/DataIO/DataIO.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ private static Map<String, InventoryData> loadInventoryData(Connection conn, Str
387387
* @throws SQLException
388388
* GUI表示用にInventoryDataのメタデータのみ取得する 全取得より軽量!
389389
*/
390-
private static StorageData loadStorageMetaOnly(Connection conn, String groupName) throws SQLException {
390+
public static StorageData loadStorageMetaOnly(Connection conn, String groupName) throws SQLException {
391391
String pluginName = null;
392392
double bankMoney = 0;
393393
Set<String> requireBankPerm = new HashSet<>();
@@ -418,7 +418,7 @@ private static StorageData loadStorageMetaOnly(Connection conn, String groupName
418418
* @throws SQLException
419419
* 軽さだけが取り柄の中身がスカスカなInventoryDataたちを生成する
420420
*/
421-
private static Map<String, InventoryData> loadInventoryMetaOnly(Connection conn, String groupName, String pluginName) throws SQLException {
421+
public static Map<String, InventoryData> loadInventoryMetaOnly(Connection conn, String groupName, String pluginName) throws SQLException {
422422
Map<String, InventoryData> map = new HashMap<>();
423423
String sql = "SELECT page_id, display_name, row_count, require_permission FROM inventory_table WHERE group_name = ? AND plugin_name = ?";
424424
try (PreparedStatement ps = conn.prepareStatement(sql)) {

0 commit comments

Comments
 (0)