Formatting change.
This commit is contained in:
@@ -691,13 +691,13 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||||||
float newYaw;
|
float newYaw;
|
||||||
if (distance > 0) {
|
if (distance > 0) {
|
||||||
if (distance > 22.5f) {
|
if (distance > 22.5f) {
|
||||||
newYaw = -45f + distance;
|
newYaw = distance - 45f;
|
||||||
} else {
|
} else {
|
||||||
newYaw = distance;
|
newYaw = distance;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (distance < -22.5f) {
|
if (distance < -22.5f) {
|
||||||
newYaw = 45f + distance;
|
newYaw = distance + 45f;
|
||||||
} else {
|
} else {
|
||||||
newYaw = distance;
|
newYaw = distance;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user