From 9b30bae3a2f31272ec83cdb788f362601d43c5af Mon Sep 17 00:00:00 2001 From: Brianna Date: Fri, 17 Apr 2020 09:25:04 -0400 Subject: [PATCH] Forgot an s xD --- src/main/java/com/songoda/epichoppers/database/DataManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/epichoppers/database/DataManager.java b/src/main/java/com/songoda/epichoppers/database/DataManager.java index 188adcc..e585d94 100644 --- a/src/main/java/com/songoda/epichoppers/database/DataManager.java +++ b/src/main/java/com/songoda/epichoppers/database/DataManager.java @@ -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();