mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-20 14:01:44 +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) {
|
public void deleteHopper(Hopper hopper) {
|
||||||
this.async(() -> this.databaseConnector.connect(connection -> {
|
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)) {
|
try (PreparedStatement statement = connection.prepareStatement(deleteHopper)) {
|
||||||
statement.setInt(1, hopper.getId());
|
statement.setInt(1, hopper.getId());
|
||||||
statement.executeUpdate();
|
statement.executeUpdate();
|
||||||
|
Loading…
Reference in New Issue
Block a user