(cherry picked from commit 176d123f4e)
This commit is contained in:
Fugit-5414 2025-11-22 22:30:46 +08:00 committed by github-actions[bot]
parent d64de0bdb1
commit 8ddfa3c86f

View File

@ -184,6 +184,11 @@ public class PlayerSync {
rsAdvCol.close();
// ----- END NEW BLOCK -----
try {
JDBCsetUp.executeUpdate("UPDATE player_data SET online=0 WHERE last_server=" + JdbcConfig.SERVER_ID.get() +" AND online=1 LIMIT 1000");
} catch (Exception e) {
LOGGER.error("An exception occurred while trying change wrong player-status\n" + e.getMessage());
}
LOGGER.info("PlayerSync is ready!");
}