Save modifications of downloaded replays to separate file

This commit is contained in:
johni0702
2015-11-14 17:48:24 +01:00
parent 48fb3e6f82
commit 393a08e2da
8 changed files with 126 additions and 171 deletions

View File

@@ -99,12 +99,12 @@ public class GuiHandler {
if (event.gui instanceof GuiIngameMenu && mod.getReplayHandler() != null) {
if (event.button.id == BUTTON_EXIT_REPLAY) {
event.button.enabled = false;
mc.displayGuiScreen(new GuiMainMenu());
try {
mod.getReplayHandler().endReplay();
} catch (IOException e) {
e.printStackTrace();
}
mc.displayGuiScreen(new GuiMainMenu());
}
}
}