Sql update
This commit is contained in:
@@ -96,7 +96,7 @@ public class dbWarehouseHandler extends dbHandlerBase {
|
||||
for (Enum.ResourceType resource : warehouse.locked)
|
||||
locks.add(resource.name());
|
||||
|
||||
warehouseJSON.put("locks", locks);
|
||||
warehouseJSON.put("locked", locks);
|
||||
|
||||
try (Connection connection = DbManager.getConnection();
|
||||
PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO `dyn_warehouse` (`cityUUID`, `warehouse`) VALUES (?, ?) " +
|
||||
|
||||
Reference in New Issue
Block a user