forked from MagicBane/Server
load mesh data and structure meshes
This commit is contained in:
@@ -941,8 +941,6 @@ public class dbBuildingHandler extends dbHandlerBase {
|
||||
BuildingManager.mesh_bounding_boxes = new HashMap<>();
|
||||
while (rs.next()) {
|
||||
if(BuildingManager.mesh_bounding_boxes.containsKey(rs.getInt("meshId")) == false){
|
||||
float centerX = Float.parseFloat(rs.getString("start").split(";")[0]);
|
||||
float centerZ = Float.parseFloat(rs.getString("start").split(";")[1]);
|
||||
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]);
|
||||
|
||||
Reference in New Issue
Block a user