Forgot an s xD

This commit is contained in:
Brianna 2020-04-17 09:25:04 -04:00
parent d73ad85008
commit 9b30bae3a2

View File

@ -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();