mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-04 23:48:42 +01:00
parent
e92cc6751a
commit
36579cfcd0
@ -45,8 +45,6 @@ import com.djrapitops.plugin.benchmarking.Timings;
|
|||||||
import com.djrapitops.plugin.logging.L;
|
import com.djrapitops.plugin.logging.L;
|
||||||
import com.djrapitops.plugin.logging.console.PluginLogger;
|
import com.djrapitops.plugin.logging.console.PluginLogger;
|
||||||
import com.djrapitops.plugin.logging.error.ErrorHandler;
|
import com.djrapitops.plugin.logging.error.ErrorHandler;
|
||||||
import com.djrapitops.plugin.task.AbsRunnable;
|
|
||||||
import com.djrapitops.plugin.task.RunnableFactory;
|
|
||||||
|
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.inject.Singleton;
|
import javax.inject.Singleton;
|
||||||
@ -84,7 +82,6 @@ public class PlanSystem implements SubSystem {
|
|||||||
private final SettingsServiceImplementation settingsService;
|
private final SettingsServiceImplementation settingsService;
|
||||||
private final PluginLogger logger;
|
private final PluginLogger logger;
|
||||||
private final Timings timings;
|
private final Timings timings;
|
||||||
private final RunnableFactory runnableFactory;
|
|
||||||
private final ErrorHandler errorHandler;
|
private final ErrorHandler errorHandler;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
@ -108,7 +105,6 @@ public class PlanSystem implements SubSystem {
|
|||||||
SettingsServiceImplementation settingsService,
|
SettingsServiceImplementation settingsService,
|
||||||
PluginLogger logger,
|
PluginLogger logger,
|
||||||
Timings timings,
|
Timings timings,
|
||||||
RunnableFactory runnableFactory,
|
|
||||||
ErrorHandler errorHandler,
|
ErrorHandler errorHandler,
|
||||||
PlanAPI.PlanAPIHolder apiHolder
|
PlanAPI.PlanAPIHolder apiHolder
|
||||||
) {
|
) {
|
||||||
@ -130,7 +126,6 @@ public class PlanSystem implements SubSystem {
|
|||||||
this.queryService = queryService;
|
this.queryService = queryService;
|
||||||
this.settingsService = settingsService;
|
this.settingsService = settingsService;
|
||||||
this.logger = logger;
|
this.logger = logger;
|
||||||
this.runnableFactory = runnableFactory;
|
|
||||||
this.timings = timings;
|
this.timings = timings;
|
||||||
this.errorHandler = errorHandler;
|
this.errorHandler = errorHandler;
|
||||||
|
|
||||||
@ -183,12 +178,7 @@ public class PlanSystem implements SubSystem {
|
|||||||
|
|
||||||
settingsService.register();
|
settingsService.register();
|
||||||
queryService.register();
|
queryService.register();
|
||||||
runnableFactory.create("Register Extensions", new AbsRunnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
extensionService.register();
|
extensionService.register();
|
||||||
}
|
|
||||||
}).runTaskLaterAsynchronously(0L);
|
|
||||||
enabled = true;
|
enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user