Revert extension load order change

This commit is contained in:
Jason Penilla committed 2025-12-23 14:08:35 -08:00
1 parent 5ee2f95012
commit f3640dcdea
4 files changed
+2 -3

No files matched your search

@@ -123,6 +123,8 @@ public abstract class CarbonChatInternal implements CarbonChat {
TimeUnit.SECONDS
);
this.initIntegrations();
// Load channels
this.channelRegistry().loadConfigChannels(this.carbonMessages);
@@ -115,7 +115,6 @@ public final class CarbonChatFabric extends CarbonChatInternal {
}
private void registerServerLifecycleListeners() {
ServerLifecycleEvents.SERVER_STARTING.register(server -> this.initIntegrations());
ServerLifecycleEvents.SERVER_STARTED.register(server -> this.checkVersion());
ServerLifecycleEvents.SERVER_STOPPED.register(server -> this.shutdown());
}
@@ -95,7 +95,6 @@ public final class CarbonChatPaper extends CarbonChatInternal {
void onEnable() {
this.init();
this.initIntegrations();
final Set<Listener> listeners = this.injector().getInstance(Key.get(new TypeLiteral<Set<Listener>>() {}));
for (final Listener listener : listeners) {
@@ -88,7 +88,6 @@ public class CarbonChatVelocity extends CarbonChatInternal {
public void onInitialization(final CarbonVelocityBootstrap carbonVelocityBootstrap) {
this.init();
this.initIntegrations();
final Set<VelocityListener<?>> listeners = this.injector().getInstance(Key.get(new TypeLiteral<Set<VelocityListener<?>>>() {}));
for (final VelocityListener<?> listener : listeners) {