diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/EntityRendererHook.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/EntityRendererHook.java b/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/EntityRendererHook.java index ebdfd88..a6ea788 100644 --- a/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/EntityRendererHook.java +++ b/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/EntityRendererHook.java @@ -23,7 +23,7 @@ public class EntityRendererHook { } public static boolean mouseHook(Minecraft minecraft) { - return PerspectiveMod.instance.overrideMouse(); + return PerspectiveMod.instance == null ? minecraft.inGameHasFocus : PerspectiveMod.instance.overrideMouse(); } public static double distanceHook(double value) { |