Fix mouse/keys not working when replay is paused

This commit is contained in:
johni0702
2015-10-04 19:02:11 +02:00
parent 526ee76d4a
commit 4d27875955
6 changed files with 251 additions and 3 deletions

View File

@@ -89,6 +89,9 @@ public class ReplayModReplay {
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
Minecraft mc = core.getMinecraft();
mc.timer = new InputReplayTimer(mc.timer, this);
new GuiHandler(this).register();
}
@@ -96,4 +99,8 @@ public class ReplayModReplay {
ReplayFile replayFile = new ZipReplayFile(new ReplayStudio(), file);
replayHandler = new ReplayHandler(replayFile, true);
}
public ReplayMod getCore() {
return core;
}
}