From d46be20d72c927d8dfe28e46d81dc08755ec68e6 Mon Sep 17 00:00:00 2001 From: CrushedPixel Date: Thu, 23 Jul 2015 01:12:15 +0200 Subject: [PATCH] The reason why the Mouse was not visible on my Mac after rendering was that the cursor was at some very odd position far far away from the actual MC window (in fullscreen). To workaround this, set the Cursor Position to 0, 0 after playing a Camera Path. | https://trello.com/c/IHxYiBTE/ --- .../java/eu/crushedpixel/replaymod/replay/ReplayProcess.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/eu/crushedpixel/replaymod/replay/ReplayProcess.java b/src/main/java/eu/crushedpixel/replaymod/replay/ReplayProcess.java index 181a09dc..7afa1acf 100755 --- a/src/main/java/eu/crushedpixel/replaymod/replay/ReplayProcess.java +++ b/src/main/java/eu/crushedpixel/replaymod/replay/ReplayProcess.java @@ -20,6 +20,7 @@ import net.minecraft.client.renderer.chunk.RenderChunk; import net.minecraft.client.resources.I18n; import net.minecraft.crash.CrashReport; import net.minecraft.util.ReportedException; +import org.lwjgl.input.Mouse; import java.io.IOException; @@ -133,6 +134,8 @@ public class ReplayProcess { ReplayMod.chatMessageHandler.addLocalizedChatMessage("replaymod.chat.pathinterrupted", ChatMessageType.INFORMATION); } + Mouse.setCursorPosition(0, 0); + ReplayHandler.setInPath(false); ReplayMod.replaySender.setAsyncMode(true);