mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 20:47:59 +01:00
Add an entrypoint for mods that want to do something if MineLP is present
This commit is contained in:
parent
3e5960471b
commit
e2fc9df53a
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ public class MineLittlePony implements ClientModInitializer {
|
||||||
config.load();
|
config.load();
|
||||||
|
|
||||||
ModelType.bootstrap();
|
ModelType.bootstrap();
|
||||||
|
|
||||||
|
FabricLoader.getInstance().getEntrypoints("minelittlepony", ClientModInitializer.class).forEach(ClientModInitializer::onInitializeClient);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onClientReady(MinecraftClient client) {
|
private void onClientReady(MinecraftClient client) {
|
||||||
|
|
Loading…
Reference in a new issue