From 4e1621db995d83d4e938925e9b609af9c8fe42ed Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 30 Mar 2024 11:46:56 -0400 Subject: [PATCH] Sql bugfix --- src/engine/db/handlers/dbWarehouseHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbWarehouseHandler.java b/src/engine/db/handlers/dbWarehouseHandler.java index 329c6069..16ef8e49 100644 --- a/src/engine/db/handlers/dbWarehouseHandler.java +++ b/src/engine/db/handlers/dbWarehouseHandler.java @@ -86,7 +86,7 @@ public class dbWarehouseHandler extends dbHandlerBase { public void DELETE_WAREHOUSE(Warehouse warehouse) { try (Connection connection = DbManager.getConnection(); - PreparedStatement preparedStatement = connection.prepareStatement("DELETE FROM ``dyn_warehouse` WHERE `cityUUID` = ?;")) { + PreparedStatement preparedStatement = connection.prepareStatement("DELETE FROM `dyn_warehouse` WHERE `cityUUID` = ?;")) { preparedStatement.setInt(1, warehouse.city.getObjectUUID()); preparedStatement.executeUpdate();