From bdd9512033ed9757613385ac5ac98be21a531ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=80=E5=93=A5?= <3523206925@qq.com> Date: Tue, 8 Aug 2023 19:54:56 +0800 Subject: [PATCH] chores: Oops --- .../cn/allay/server/world/entity/AllayEntityPhysicsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Allay-Server/src/main/java/cn/allay/server/world/entity/AllayEntityPhysicsService.java b/Allay-Server/src/main/java/cn/allay/server/world/entity/AllayEntityPhysicsService.java index 4ab72cae8..3f491f677 100644 --- a/Allay-Server/src/main/java/cn/allay/server/world/entity/AllayEntityPhysicsService.java +++ b/Allay-Server/src/main/java/cn/allay/server/world/entity/AllayEntityPhysicsService.java @@ -124,7 +124,7 @@ private double applyMotionZ(double stepHeight, Location3d pos, double mz, AABBd var zResult = moveAlongZAxisAndStopWhenCollision(resultAABB, mz, resultPos); if (zResult.right()) { //有碰撞,尝试跨步 - if (tryStepping(aabb, stepHeight, mz > 0, true)) { + if (tryStepping(aabb, stepHeight, mz > 0, false)) { //跨步成功 zResult = moveAlongZAxisAndStopWhenCollision(resultAABB, mz, resultPos); }