Fix mouse/keys not working when replay is paused
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user