Fixed typo in ModToolSanctions.java

This commit is contained in:
KrewsOrg 2020-01-22 00:03:24 +00:00
parent e108796ad1
commit b854849539

View File

@ -115,7 +115,7 @@ public class ModToolSanctions {
}
public void updateMuteDuration(int rowId, int muteDuration) {
try (Connection connection = Emulator.getDatabase().getDataSource().getConnection(); PreparedStatement statement = connection.prepareStatement("UPDATE sanctions SET muted_duration = ? WHERE id = ?")) {
try (Connection connection = Emulator.getDatabase().getDataSource().getConnection(); PreparedStatement statement = connection.prepareStatement("UPDATE sanctions SET mute_duration = ? WHERE id = ?")) {
statement.setInt(1, muteDuration);
statement.setInt(2, rowId);