Skip to content

Commit

Permalink
prevent BuildClip waitfortp potentially getting broken
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeRNG committed Oct 24, 2023
1 parent 8bd1e35 commit 2de1a2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/dev/dfonline/codeclient/dev/BuildClip.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static void tick() {
if(!CodeClient.clipBind.isPressed()) finishClipping();
}
}
else if(clipping) {
else if(clipping || waitForTP) {
disableClipping();
}

Expand Down Expand Up @@ -133,5 +133,6 @@ private static void finishClipping() {

public static void disableClipping() {
clipping = false;
waitForTP = false;
}
}

0 comments on commit 2de1a2f

Please sign in to comment.