When clicking Time/Marker Keyframes, the time is now traveled with the "Please wait" screen
This commit is contained in:
@@ -78,7 +78,7 @@ public class GuiKeyframeTimeline extends GuiTimeline {
|
||||
if(closest.getValue() instanceof AdvancedPosition) {
|
||||
ReplayHandler.getCameraEntity().moveAbsolute((AdvancedPosition)closest.getValue());
|
||||
} else if(closest.getValue() instanceof TimestampValue) {
|
||||
ReplayMod.replaySender.jumpToTime(((TimestampValue)closest.getValue()).asInt());
|
||||
ReplayMod.overlay.performJump(((TimestampValue)closest.getValue()).asInt());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ public class GuiMarkerTimeline extends GuiTimeline {
|
||||
if(closest != null) {
|
||||
//Jump to clicked Marker Keyframe
|
||||
ReplayHandler.setLastPosition(closest.getValue().getPosition());
|
||||
ReplayMod.replaySender.jumpToTime(closest.getRealTimestamp());
|
||||
ReplayMod.overlay.performJump(closest.getRealTimestamp(), false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user