mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-04 05:16:21 -04:00
Fixed staticService ordering
This commit is contained in:
@@ -318,6 +318,7 @@ public class NGECore {
|
||||
harvesterService = new HarvesterService(this);
|
||||
mountService = new MountService(this);
|
||||
playerCityService = new PlayerCityService(this);
|
||||
staticService = new StaticService(this);
|
||||
|
||||
if (config.keyExists("JYTHONCONSOLE.PORT")) {
|
||||
int jythonPort = config.getInt("JYTHONCONSOLE.PORT");
|
||||
@@ -375,6 +376,7 @@ public class NGECore {
|
||||
zoneDispatch.addService(mountService);
|
||||
zoneDispatch.addService(housingService);
|
||||
zoneDispatch.addService(playerCityService);
|
||||
zoneDispatch.addService(staticService);
|
||||
|
||||
if (optionsConfigLoaded && options.getInt("LOAD.RESOURCE.SYSTEM") == 1) {
|
||||
zoneDispatch.addService(surveyService);
|
||||
@@ -383,7 +385,7 @@ public class NGECore {
|
||||
|
||||
zoneServer = new MINAServer(zoneDispatch, config.getInt("ZONE.PORT"));
|
||||
zoneServer.start();
|
||||
staticService = new StaticService(this);
|
||||
|
||||
//Start terrainList
|
||||
// Original Planets
|
||||
terrainService.addPlanet(1, "tatooine", "terrain/tatooine.trn", true);
|
||||
@@ -464,10 +466,6 @@ public class NGECore {
|
||||
// Zone services that need to be loaded after the above
|
||||
zoneDispatch.addService(simulationService);
|
||||
|
||||
|
||||
// Static Spawns
|
||||
staticService.spawnStatics();
|
||||
|
||||
guildService = new GuildService(this);
|
||||
zoneDispatch.addService(guildService);
|
||||
|
||||
@@ -485,7 +483,6 @@ public class NGECore {
|
||||
instanceService = new InstanceService(this);
|
||||
zoneDispatch.addService(instanceService);
|
||||
|
||||
|
||||
weatherService = new WeatherService(this);
|
||||
weatherService.loadPlanetSettings();
|
||||
|
||||
@@ -495,6 +492,8 @@ public class NGECore {
|
||||
spawnService.loadDynamicGroups();;
|
||||
spawnService.loadSpawnAreas();
|
||||
|
||||
staticService.spawnStatics();
|
||||
|
||||
equipmentService.loadBonusSets();
|
||||
|
||||
retroService.run();
|
||||
|
||||
Reference in New Issue
Block a user