forked from MagicBane/Server
bugfix in db handler
This commit is contained in:
@@ -573,12 +573,12 @@ public class dbBuildingHandler extends dbHandlerBase {
|
||||
|
||||
if (BuildingManager._hull_data.get(propID) == null) {
|
||||
meshList = new ArrayList<>();
|
||||
meshList.add(propID, vertArrayList);
|
||||
meshList.add(vertArrayList);
|
||||
BuildingManager._hull_data.put(propID, meshList);
|
||||
|
||||
} else {
|
||||
meshList = BuildingManager._hull_data.get(propID);
|
||||
meshList.add(propID, vertArrayList);
|
||||
meshList.add(vertArrayList);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user