mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-15 13:44:45 +00:00
move event bus loading to preInit
This commit is contained in:
2 files changed
+8
-1
No files matched your search
@@ -226,10 +226,16 @@ public class ConfigurationManager {
|
||||
return;
|
||||
}
|
||||
configDir = FileUtil.getMinecraftHome().toPath().resolve("config");
|
||||
FMLCommonHandler.instance().bus().register(instance);
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal, do not use.
|
||||
*/
|
||||
public static void registerBus() {
|
||||
FMLCommonHandler.instance().bus().register(instance);
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal, do not use.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user