From d5927578a9885e3d7519007fc0d5989a8ae4525f Mon Sep 17 00:00:00 2001 From: Axionize <154778082+Axionize@users.noreply.github.com> Date: Wed, 25 Sep 2024 01:01:16 -0400 Subject: [PATCH] Reduce average iterations of rotation place --- .../ac/grim/grimac/checks/impl/scaffolding/RotationPlace.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ac/grim/grimac/checks/impl/scaffolding/RotationPlace.java b/src/main/java/ac/grim/grimac/checks/impl/scaffolding/RotationPlace.java index e1081c4d9e..5275917f4e 100644 --- a/src/main/java/ac/grim/grimac/checks/impl/scaffolding/RotationPlace.java +++ b/src/main/java/ac/grim/grimac/checks/impl/scaffolding/RotationPlace.java @@ -71,8 +71,8 @@ private boolean didRayTraceHit(BlockPlace place) { SimpleCollisionBox box = new SimpleCollisionBox(place.getPlacedAgainstBlockLocation()); List possibleLookDirs = new ArrayList<>(Arrays.asList( - new Vector3f(player.lastXRot, player.yRot, 0), - new Vector3f(player.xRot, player.yRot, 0) + new Vector3f(player.xRot, player.yRot, 0), + new Vector3f(player.lastXRot, player.yRot, 0) )); // Start checking if player is in the block