Fixed Race Condition which locked the user in the GuiReplaySaving caused by Minecraft opening the GUI in a delayed thread
This commit is contained in:
@@ -18,6 +18,12 @@ public class GuiReplaySaving extends GuiScreen {
|
||||
ReplayMod.replayFileAppender.addFinishListener(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setWorldAndResolution(Minecraft mc, int width, int height) {
|
||||
super.setWorldAndResolution(mc, width, height);
|
||||
ReplayMod.replayFileAppender.callListeners();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
this.drawDefaultBackground();
|
||||
|
||||
Reference in New Issue
Block a user