Use new Gui API for GuiReplayDownloading

This commit is contained in:
johni0702
2015-07-09 18:30:31 +02:00
parent c66efc91b7
commit 59e6b87935
3 changed files with 39 additions and 69 deletions

View File

@@ -284,7 +284,7 @@ public class GuiReplayCenter extends GuiScreen implements GuiYesNoCallback {
if(info != null) {
File f = ReplayMod.downloadedFileHandler.getFileForID(info.getId());
if(f == null) {
mc.displayGuiScreen(new GuiReplayDownloading(info));
new GuiReplayDownloading(info).display();
} else {
try {
ReplayHandler.startReplay(f);