mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
A full rewrite and redesign of the library that offers much better performance, new features and fixes all previous design flaws See the migration guide here: https://gist.github.com/PaintNinja/ad82c224aecee25efac1ea3e2cf19b91 Co-authored-by: Paint_Ninja <[email protected]>
14 lines
776 B
Diff
14 lines
776 B
Diff
--- a/net/minecraft/client/main/Main.java
|
|
+++ b/net/minecraft/client/main/Main.java
|
|
@@ -123,8 +_,8 @@
|
|
CrashReport.preload();
|
|
logger = LogUtils.getLogger();
|
|
s1 = "Bootstrap";
|
|
- Bootstrap.bootStrap();
|
|
- ClientBootstrap.bootstrap();
|
|
+ net.minecraftforge.fml.loading.BackgroundWaiter.runAndTick(Bootstrap::bootStrap, net.minecraftforge.fml.loading.FMLLoader.progressWindowTick);
|
|
+ net.minecraftforge.fml.loading.BackgroundWaiter.runAndTick(ClientBootstrap::bootstrap, net.minecraftforge.fml.loading.FMLLoader.progressWindowTick);
|
|
GameLoadTimesEvent.INSTANCE.setBootstrapTime(Bootstrap.bootstrapDuration.get());
|
|
Bootstrap.validate();
|
|
s1 = "Argument parsing";
|