mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
New Decompiler Runtime Official mappings ItemStacks arnt Capability providers anymore, use Vanilla's system. Co-authored-by: RealMangoRage <[email protected]> Co-authored-by: Paint_Ninja <[email protected]>
19 lines
806 B
Diff
19 lines
806 B
Diff
--- a/net/minecraft/client/gui/screens/LoadingOverlay.java
|
|
+++ b/net/minecraft/client/gui/screens/LoadingOverlay.java
|
|
@@ -131,6 +_,7 @@
|
|
}
|
|
|
|
if (this.fadeOutStart == -1L && this.reload.isDone() && (!this.fadeIn || f1 >= 2.0F)) {
|
|
+ this.fadeOutStart = Util.getMillis(); // Forge: Moved up to guard against inf loops caused by callback
|
|
try {
|
|
this.reload.checkExceptions();
|
|
this.onFinish.accept(Optional.empty());
|
|
@@ -138,7 +_,6 @@
|
|
this.onFinish.accept(Optional.of(throwable));
|
|
}
|
|
|
|
- this.fadeOutStart = Util.getMillis();
|
|
if (this.minecraft.screen != null) {
|
|
this.minecraft.screen.init(this.minecraft, p_281839_.guiWidth(), p_281839_.guiHeight());
|
|
}
|