Merge pull request #101 from mlus-asuka/backport-98-to-1.20.4

[Backport 1.20.4] remove duplicate UPDATE server_info
This commit is contained in:
mlus 2025-07-29 18:37:28 +08:00 committed by GitHub
commit 0b750ab852
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,10 +118,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")) {