summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc')
-rw-r--r--src/main/java/ftbsc/bscv/Boscovicino.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/ftbsc/bscv/Boscovicino.java b/src/main/java/ftbsc/bscv/Boscovicino.java
index 19ca92f..a3a3f29 100644
--- a/src/main/java/ftbsc/bscv/Boscovicino.java
+++ b/src/main/java/ftbsc/bscv/Boscovicino.java
@@ -21,7 +21,7 @@ import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.ModLoadingContext;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.config.ModConfig.Type;
-import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
+import net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@@ -43,7 +43,7 @@ public class Boscovicino implements ICommons {
public static Friends friends() { return Boscovicino.friends; }
public Boscovicino() {
- FMLJavaModLoadingContext.get().getModEventBus().addListener(this::clientSetup);
+ FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onSetupComplete);
ForgeConfigSpec.Builder cfg = new ForgeConfigSpec.Builder();
CommandDispatcher<CommandSource> dp = this.dispatcher;
@@ -73,7 +73,7 @@ public class Boscovicino implements ICommons {
}
}
- private void clientSetup(final FMLClientSetupEvent event) {
+ private void onSetupComplete(final FMLLoadCompleteEvent event) {
LOGGER.info("Initializing modules");
for (IModule m : modManager.mods) {