mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Fixed typo in ModToolSanctions.java
This commit is contained in:
parent
e108796ad1
commit
b854849539
@ -115,7 +115,7 @@ public class ModToolSanctions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void updateMuteDuration(int rowId, int muteDuration) {
|
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(1, muteDuration);
|
||||||
statement.setInt(2, rowId);
|
statement.setInt(2, rowId);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user