mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Update UpdateModToolIssue.java
This commit is contained in:
parent
1efa38fefc
commit
b958c4dbfe
@ -30,8 +30,7 @@ public class UpdateModToolIssue implements Runnable {
|
||||
} catch (SQLException e) {
|
||||
LOGGER.error("Caught SQL exception", e);
|
||||
}
|
||||
try (Connection connection = Emulator.getDatabase().getDataSource().getConnection(); PreparedStatement statement = connection.prepareStatement("UPDATE users_settings SET cfh_send = cfh_send + ? WHERE user_id = ?")) {
|
||||
statement.setInt(1, 1);
|
||||
try (Connection connection = Emulator.getDatabase().getDataSource().getConnection(); PreparedStatement statement = connection.prepareStatement("UPDATE users_settings SET cfh_send = cfh_send + 1 WHERE user_id = ?")) {
|
||||
statement.setInt(2, this.issue.senderId);
|
||||
statement.execute();
|
||||
} catch (SQLException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user