sieges withstood update to update siegesWithstood column in DB (was previously city name)

This commit is contained in:
2025-11-01 20:57:02 -05:00
parent fa2dd72798
commit 7251c3aaec
+1 -1
View File
@@ -210,7 +210,7 @@ public class dbCityHandler extends dbHandlerBase {
public boolean updateSiegesWithstood(City city, int value) {
try (Connection connection = DbManager.getConnection();
PreparedStatement preparedStatement = connection.prepareStatement("UPDATE `obj_city` SET `name`=?"
PreparedStatement preparedStatement = connection.prepareStatement("UPDATE `obj_city` SET `siegesWithstood`=?"
+ " WHERE `UID` = ?")) {
preparedStatement.setInt(1, value);