The Replay Viewer now loads its entries asynchronously to prevent Minecraft from freezing whenever the Replay Viewer is opened

This commit is contained in:
CrushedPixel
2015-06-04 16:48:58 +02:00
parent b9c46578af
commit 99718a1316
4 changed files with 48 additions and 22 deletions

View File

@@ -121,7 +121,11 @@ public class GuiUploadFile extends GuiScreen {
@Override
public void initGui() {
if(replayFile == null) return;
if(replayFile == null) {
mc.displayGuiScreen(parent);
return;
}
if(!AuthenticationHandler.isAuthenticated()) {
mc.displayGuiScreen(new GuiLoginPrompt(parent, this));
return;