Fixed buildouts loading order and assembly

All Cells are first instantiated and then added to their parent
buildings
This commit is contained in:
CharonInferar
2014-09-29 02:41:07 +02:00
parent f47c642619
commit 2627425bf8
4 changed files with 225 additions and 9 deletions
+2 -2
View File
@@ -200,7 +200,7 @@ public class TerrainService {
public void loadSnapShotObjects() {
Map<Planet, Thread> threadMap = new HashMap<Planet, Thread>();
for(final Planet planet : planets) {
@@ -221,7 +221,7 @@ public class TerrainService {
}
if (options != null && options.getInt("LOAD.BUILDOUT_OBJECTS") > 0) {
if (!core.getExcludedDevelopers().contains(System.getProperty("user.name"))){
if (!core.getExcludedDevelopers().contains(System.getProperty("user.name"))){
if (! options.keyExists("LOAD.BUILDOUT_ONLY_FOR")){
try {
System.out.println("Loading buildout objects for: " + planet.getName());