Fixed the GuiLoadingListEntry in the ReplayViewer List being removed at a completely wrong time | https://trello.com/c/O26k7DTC/

This commit is contained in:
CrushedPixel
2015-07-02 15:08:51 +02:00
parent c811c81be1
commit 088bb00ab3

View File

@@ -100,10 +100,15 @@ public class GuiReplayViewer extends GuiScreen implements GuiYesNoCallback {
replayFile.close();
} catch(Exception e) {
e.printStackTrace();
} finally {
replayGuiList.removeEntry(loadingListEntry);
}
}
mc.addScheduledTask(new Runnable() {
@Override
public void run() {
replayGuiList.removeEntry(loadingListEntry);
}
});
}
@Override