1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-17 20:55:09 +00:00

Tweak hitbox constraints

This commit is contained in:
Brady 2023-06-20 23:01:07 -05:00
parent 699e8bdea6
commit defa6399e2
No known key found for this signature in database
GPG Key ID: 73A788379A197567

View File

@ -486,7 +486,7 @@ public final class ElytraBehavior extends Behavior implements IElytraBehavior, H
// 1.0 -> 0.25 -> none
final Double growth = relaxation == 2 ? null
: relaxation == 0 ? 1.0d : 0.25d;
: relaxation == 0 ? 0.5d : 0.25d;
if (this.isHitboxClear(start, dest, growth, isInLava)) {
// Yaw is trivial, just calculate the rotation required to face the destination