diff --git a/src/engine/db/handlers/dbBuildingHandler.java b/src/engine/db/handlers/dbBuildingHandler.java index 5b6fe1fc..75b8f7fe 100644 --- a/src/engine/db/handlers/dbBuildingHandler.java +++ b/src/engine/db/handlers/dbBuildingHandler.java @@ -942,10 +942,10 @@ public class dbBuildingHandler extends dbHandlerBase { while (rs.next()) { int meshID = rs.getInt("meshId"); if(BuildingManager.mesh_bounding_boxes.containsKey(meshID) == false){ - float endX = Float.parseFloat(rs.getString("end").split(";")[0]); - float endZ = Float.parseFloat(rs.getString("end").split(";")[1]); - float refX = Float.parseFloat(rs.getString("ref").split(";")[0]); - float refZ = Float.parseFloat(rs.getString("ref").split(";")[1]); + float endX = Float.parseFloat(rs.getString("mesh_end_point").split(";")[0]); + float endZ = Float.parseFloat(rs.getString("mesh_end_point").split(";")[1]); + float refX = Float.parseFloat(rs.getString("mesh_ref_point").split(";")[0]); + float refZ = Float.parseFloat(rs.getString("mesh_ref_point").split(";")[1]); Vector2f topLeft = new Vector2f(refX,refZ);