mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-08 23:13:25 -04:00
The loading of spawners now happens within initialization() of SpawnerService instead of in ObjectManager
This commit is contained in:
@@ -58,6 +58,9 @@ public final class SpawnerService extends Service {
|
||||
public boolean initialize() {
|
||||
registerForIntent(ConfigChangedIntent.TYPE);
|
||||
|
||||
if (getConfig(ConfigFile.FEATURES).getBoolean("SPAWNERS-ENABLED", true))
|
||||
loadEggs();
|
||||
|
||||
return super.initialize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user