remove duplicate UPDATE server_info

the UPDATE is already happening in in the INSERT statement above

(cherry picked from commit 0e96107416)
This commit is contained in:
EoD 2025-07-19 18:12:55 +00:00 committed by github-actions[bot]
parent 675bf7e486
commit 3d111125a9

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")) {