Merge pull request #98 from EoD/remove-duplicate-update

remove duplicate UPDATE server_info
This commit is contained in:
mlus 2025-07-29 18:33:54 +08:00 committed by GitHub
commit cd13b282e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -125,10 +125,6 @@ public class PlayerSync {
"ON DUPLICATE KEY UPDATE id= " + JdbcConfig.SERVER_ID.get() + ",enable = 1," +
"last_update=" + current + ";"
);
JDBCsetUp.executeUpdate(
"UPDATE " + dbName + ".server_info SET last_update=" + System.currentTimeMillis() +
" WHERE id='" + JdbcConfig.SERVER_ID.get() + "'"
);
// Create curios table if the Curios mod is loaded
if (ModList.get().isLoaded("curios")) {