mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
0.7.0
This commit is contained in:
1 parent
7f1d199704
commit
be99313e81
47 files changed
+1247
-337
No files matched your search
@@ -28,12 +28,12 @@ public class WorldRenderHook {
|
||||
public static void renderHook(PoseStack poseStack, float partialTick, boolean renderBlockOutline, Camera camera, GameRenderer gameRenderer,
|
||||
LightTexture lightTexture, Matrix4f projection) {
|
||||
ReplayServer replayServer = Flashback.getReplayServer();
|
||||
if (replayServer == null) {
|
||||
if (replayServer == null || Flashback.isExporting()) {
|
||||
return;
|
||||
}
|
||||
|
||||
EditorState editorState = EditorStateManager.getCurrent();
|
||||
if (editorState != null && !Flashback.isExporting() && editorState.replayVisuals.cameraPath) {
|
||||
if (editorState != null && editorState.replayVisuals.cameraPath) {
|
||||
CameraPath.renderCameraPath(poseStack, camera, replayServer);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user