From 4da2b1e41c3a4920f5f9f1f7fcdec9dd4dab5b65 Mon Sep 17 00:00:00 2001 From: CrushedPixel Date: Thu, 30 Apr 2015 18:04:53 +0200 Subject: [PATCH] Fixed time not standing still when it should during a Camera Path --- .../eu/crushedpixel/replaymod/replay/ReplayProcess.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/eu/crushedpixel/replaymod/replay/ReplayProcess.java b/src/main/java/eu/crushedpixel/replaymod/replay/ReplayProcess.java index 1d18450d..49625096 100755 --- a/src/main/java/eu/crushedpixel/replaymod/replay/ReplayProcess.java +++ b/src/main/java/eu/crushedpixel/replaymod/replay/ReplayProcess.java @@ -114,6 +114,8 @@ public class ReplayProcess { if(isVideoRecording()) { MCTimerHandler.setTimerSpeed(1f); MCTimerHandler.setPassiveTimer(); + } else { + MCTimerHandler.setTimerSpeed(1f); } } @@ -340,10 +342,9 @@ public class ReplayProcess { ReplayHandler.getCameraEntity().movePath(pos); } - if(curSpeed > 0) { - ReplayMod.replaySender.setReplaySpeed(curSpeed); - lastSpeed = curSpeed; - } + if(!isVideoRecording()) ReplayMod.replaySender.setReplaySpeed(curSpeed); + //if(curSpeed > 0) + lastSpeed = curSpeed; if(recording) { MCTimerHandler.updateTimer((1f / ReplayMod.replaySettings.getVideoFramerate()));