From 2531617cb9536040ccbb4a0e0688faa039e8be11 Mon Sep 17 00:00:00 2001 From: oryxel1 Date: Tue, 9 Sep 2025 18:51:06 +0700 Subject: [PATCH] Change comments. --- .../geysermc/geyser/translator/collision/BlockCollision.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/geysermc/geyser/translator/collision/BlockCollision.java b/core/src/main/java/org/geysermc/geyser/translator/collision/BlockCollision.java index 813fa6796..a178befab 100644 --- a/core/src/main/java/org/geysermc/geyser/translator/collision/BlockCollision.java +++ b/core/src/main/java/org/geysermc/geyser/translator/collision/BlockCollision.java @@ -55,7 +55,7 @@ public class BlockCollision { public void correctPosition(GeyserSession session, int x, int y, int z, BoundingBox playerCollision) { final double collisionExpansion = CollisionManager.COLLISION_TOLERANCE * 2; - // Due to floating points errors, or possibly how collision is handled on Bedrock, player could be slightly clipping into the block. + // Due to floating points errors, or because of block collision difference, player could be slightly clipping into the block. // So we check if the player is intersecting the block, if they do then push them out. This fixes NoCheatPlus's Passable check and other anticheat checks. // This check doesn't allow players right up against the block, so they must be pushed slightly away. However, we should only do it if the // push distance is smaller than "pushAwayTolerance", we don't want to push player out when they're actually inside a block.