mirror of
https://bitbucket.org/projectswg/holocore.git
synced 2026-10-13 05:12:55 -04:00
The loading of spawners now happens within initialization() of SpawnerService instead of in ObjectManager
This commit is contained in:
@@ -114,19 +114,11 @@ public class ObjectManager extends Manager {
|
||||
registerForIntent(DeleteCharacterIntent.TYPE);
|
||||
objectAwareness.initialize();
|
||||
loadClientObjects();
|
||||
loadSpawners();
|
||||
maxObjectId = 1000000000; // Gets over all the buildouts/snapshots
|
||||
loadObjects();
|
||||
return super.initialize();
|
||||
}
|
||||
|
||||
private void loadSpawners() {
|
||||
Config c = getConfig(ConfigFile.FEATURES);
|
||||
if (c.getBoolean("SPAWNERS-ENABLED", true)) {
|
||||
spawnerService.loadEggs();
|
||||
}
|
||||
}
|
||||
|
||||
private void loadObjects() {
|
||||
long startLoad = System.nanoTime();
|
||||
Log.i("ObjectManager", "Loading objects from ObjectDatabase...");
|
||||
|
||||
Reference in New Issue
Block a user