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() {
226
226
return ;
227
227
}
228
228
configDir = FileUtil .getMinecraftHome ().toPath ().resolve ("config" );
229
- FMLCommonHandler .instance ().bus ().register (instance );
230
229
initialized = true ;
231
230
}
232
231
232
+ /**
233
+ * Internal, do not use.
234
+ */
235
+ public static void registerBus () {
236
+ FMLCommonHandler .instance ().bus ().register (instance );
237
+ }
238
+
233
239
/**
234
240
* Internal, do not use.
235
241
*
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ public class CommonProxy {
23
23
protected Future <List <ModUpdateInfo >> updatesFuture ;
24
24
25
25
public void preInit (FMLPreInitializationEvent e ) {
26
+ ConfigurationManager .registerBus ();
26
27
try {
27
28
ConfigurationManager .registerConfig (LibraryConfig .class );
28
29
} catch (ConfigException ex ) {
You can’t perform that action at this time.
0 commit comments