The loading of spawners now happens within initialization() of SpawnerService instead of in ObjectManager

This commit is contained in:
Mads Boddum
2015-08-27 01:21:12 +02:00
parent 65babac422
commit 5d29903864
2 changed files with 3 additions and 8 deletions
+3
View File
@@ -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();
}