Skip to content

Commit

Permalink
Merge pull request GrimAnticheat#1049 from jamespglines/2.0
Browse files Browse the repository at this point in the history
Fix 3/10ths boatfly
  • Loading branch information
MWHunter authored Jun 2, 2023
2 parents 3216178 + 5f2f924 commit c27142d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void onPredictionComplete(final PredictionComplete predictionComplete) {
// If the setback isn't complete, then this position is illegitimate
if (predictionComplete.getData().getSetback() != null) {
// The player needs to now wait for their vehicle to go into the right place before getting back in
if (cheatVehicleInterpolationDelay > 0) cheatVehicleInterpolationDelay = 3;
if (cheatVehicleInterpolationDelay > 0) cheatVehicleInterpolationDelay = 10;
// Teleport, let velocity be reset
lastKnownGoodPosition = new SetbackPosWithVector(new Vector3d(player.x, player.y, player.z), afterTickFriction);
} else if (requiredSetBack == null || requiredSetBack.isComplete()) {
Expand Down

0 comments on commit c27142d

Please sign in to comment.