Skip to content

Commit

Permalink
fixed mouse jump bug
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessBullets committed Nov 12, 2024
1 parent 71f19d5 commit 9fade51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ bta_version=nightly-2024-09-19
loader_version=0.15.6-babric.6-bta

# Mod Properties
mod_version = 1.0.2
mod_version = 1.0.3
maven_group = com.github.zarzelcow
archives_base_name = legacy-lwjgl3
archives_base_name = legacy-lwjgl3-bta
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ public void readMouse(ByteBuffer readBuffer) {

@Override
public void setCursorPosition(int x, int y) {
// this.last_x = x;
// this.last_y = y;
this.last_x = x;
this.last_y = y;
GLFW.glfwSetCursorPos(this.windowHandle, x, y);
}

Expand Down

0 comments on commit 9fade51

Please sign in to comment.