File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/main/java/com/falsepattern/lib Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -226,10 +226,16 @@ private static void init() {
226226 return ;
227227 }
228228 configDir = FileUtil .getMinecraftHome ().toPath ().resolve ("config" );
229- FMLCommonHandler .instance ().bus ().register (instance );
230229 initialized = true ;
231230 }
232231
232+ /**
233+ * Internal, do not use.
234+ */
235+ public static void registerBus () {
236+ FMLCommonHandler .instance ().bus ().register (instance );
237+ }
238+
233239 /**
234240 * Internal, do not use.
235241 *
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ public class CommonProxy {
2323 protected Future <List <ModUpdateInfo >> updatesFuture ;
2424
2525 public void preInit (FMLPreInitializationEvent e ) {
26+ ConfigurationManager .registerBus ();
2627 try {
2728 ConfigurationManager .registerConfig (LibraryConfig .class );
2829 } catch (ConfigException ex ) {
You can’t perform that action at this time.
0 commit comments