Skip to content

Commit da30a3a

Browse files
committed
Update UnifiedLogManager.java
1 parent ab2c8f6 commit da30a3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ public static boolean logTagDiffsForPage(Connection conn, GroupData groupData,
778778
return saveTagDiffs(conn, groupData, inv, pageId, now);
779779
}
780780

781-
private static void logPageEvent(UUID groupUUID, String pluginName,
781+
public static void logPageEvent(UUID groupUUID, String pluginName,
782782
String pageId, OperationType op, @Nullable String metaJson) throws SQLException {
783783
try (PreparedStatement ps = db.getConnection().prepareStatement(
784784
"INSERT INTO diff_log_inventory_items " +
@@ -794,8 +794,8 @@ private static void logPageEvent(UUID groupUUID, String pluginName,
794794
}
795795
}
796796
/*
797-
logPageEvent(conn, groupUUID, group.ownerPlugin, pageId, "PAGE_CREATE", null);
798-
logPageEvent(conn, groupUUID, group.ownerPlugin, pageId, "PAGE_DELETE", null);
797+
logPageEvent(groupUUID, group.ownerPlugin, pageId, "PAGE_CREATE", null);
798+
logPageEvent(groupUUID, group.ownerPlugin, pageId, "PAGE_DELETE", null);
799799
diffCreateLogMeta
800800
diffRename
801801
を適切に呼ぶこと

0 commit comments

Comments
 (0)