From 8912d8328a475986f373c3c3511ab62ebc61e44d Mon Sep 17 00:00:00 2001 From: Innokenty Date: Fri, 11 Aug 2023 10:58:33 +0300 Subject: [PATCH] remove cursor locking --- src/main/java/io/singularitynet/Client/VereyaModClient.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/io/singularitynet/Client/VereyaModClient.java b/src/main/java/io/singularitynet/Client/VereyaModClient.java index 8772c28..ef370e3 100644 --- a/src/main/java/io/singularitynet/Client/VereyaModClient.java +++ b/src/main/java/io/singularitynet/Client/VereyaModClient.java @@ -255,10 +255,8 @@ private void onKey(long window, int key, int scancode, int action, int modifiers if (((inputType == InputType.HYBRID_KEYBOARD))) { if ((action == GLFW.GLFW_PRESS)) { - MinecraftClient.getInstance().mouse.lockCursor(); this.stateMachine.currentMissionBehaviour().commandHandler.setOverriding(false); } else if ((action == GLFW.GLFW_RELEASE)) { - MinecraftClient.getInstance().mouse.unlockCursor(); this.stateMachine.currentMissionBehaviour().commandHandler.setOverriding(true); } }