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

@@ -391,7 +391,7 @@ public class ReplayMod {
File file = ReplayMod.downloadedFileHandler.getFileForID(id);
if (file == null) {
FileInfo info = new FileInfo(id, null, null, null, 0, 0, 0, String.valueOf(id), false, 0);
mc.displayGuiScreen(new GuiReplayDownloading(info));
new GuiReplayDownloading(info).display();
} else {
try {
ReplayHandler.startReplay(file);