调整数据

This commit is contained in:
Atsuihsio 2024-09-29 13:33:16 +08:00
parent 9a8901823b
commit d890a05b77

View file

@ -533,7 +533,7 @@ public class ClientEventHandler {
double angle = 0;
if (lookDistance != 0) {
angle = Math.atan(0.6 / lookDistance) * Mth.RAD_TO_DEG;
angle = Math.atan(0.6 / (lookDistance + 2.9)) * Mth.RAD_TO_DEG;
}
// player.displayClientMessage(Component.nullToEmpty(Component.literal(new DecimalFormat("##").format(lookDistance)) + " " + new DecimalFormat("##.#").format(angle)), true);