mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-09 20:21:41 +01:00
Forgot an s xD
This commit is contained in:
parent
d73ad85008
commit
9b30bae3a2
@ -248,7 +248,7 @@ public class DataManager extends DataManagerAbstract {
|
||||
|
||||
public void deleteHopper(Hopper hopper) {
|
||||
this.async(() -> this.databaseConnector.connect(connection -> {
|
||||
String deleteHopper = "DELETE FROM " + this.getTablePrefix() + "placed_hopper WHERE id = ?";
|
||||
String deleteHopper = "DELETE FROM " + this.getTablePrefix() + "placed_hoppers WHERE id = ?";
|
||||
try (PreparedStatement statement = connection.prepareStatement(deleteHopper)) {
|
||||
statement.setInt(1, hopper.getId());
|
||||
statement.executeUpdate();
|
||||
|
Loading…
Reference in New Issue
Block a user