Fixed #386: Wookies/Ithorians cant gain CL 90 via frog

Added option to load resources or not too (enabled by default)
This commit is contained in:
Waverunner
2014-04-06 12:11:27 -04:00
parent 5c34a3644e
commit 1fbf0613a7
3 changed files with 20 additions and 8 deletions
+9 -4
View File
@@ -301,8 +301,11 @@ public class NGECore {
spawnService = new SpawnService(this);
aiService = new AIService(this);
//missionService = new MissionService(this);
surveyService = new SurveyService(this);
resourceService = new ResourceService(this);
if (config.getInt("LOAD.RESOURCE.SYSTEM") == 1) {
surveyService = new SurveyService(this);
resourceService = new ResourceService(this);
}
// Ping Server
try {
@@ -403,8 +406,10 @@ public class NGECore {
objectService.loadBuildings();
objectService.loadResourceRoots();
objectService.loadResources();
if (config.getInt("LOAD.RESOURCE.SYSTEM") == 1) {
objectService.loadResourceRoots();
objectService.loadResources();
}
terrainService.loadSnapShotObjects();
objectService.loadServerTemplates();