Bugfix; method is on rs.

This commit is contained in:
2023-05-23 10:32:07 -04:00
parent 6dd7315786
commit 3761384dfb
@@ -662,7 +662,7 @@ public class dbBuildingHandler extends dbHandlerBase {
ResultSet rs = preparedStatement.executeQuery(); ResultSet rs = preparedStatement.executeQuery();
if (rs.next()) if (rs.next())
storedEnum = DbObjectType.valueOf(getString("type").toUpperCase()); storedEnum = DbObjectType.valueOf(rs.getString("type").toUpperCase());
} catch (SQLException e) { } catch (SQLException e) {
Logger.error("Building", e); Logger.error("Building", e);