Skip to content

Commit 92a507c

Browse files
committed
Fix build
1 parent 9824b49 commit 92a507c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/org/geysermc/geyser/level/physics/CollisionManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class CollisionManager {
6161
public static final BlockCollision FLUID_COLLISION = new OtherCollision(new BoundingBox[]{new BoundingBox(0.5, 0.25, 0.5, 1, 0.5, 1)});
6262
// If you read this, feel free to suggest a more proper way to detect the Bedrock player's own onGround status instead of using a margin
6363
private static final double POSITION_ADJUSTMENT_MARGIN = 0.05;
64-
private static final double PLAYER_OFFSET = Double.parseDouble(Float.toString(EntityDefinitions.PLAYER.offset()));
64+
public static final double PLAYER_OFFSET = Double.parseDouble(Float.toString(VanillaEntities.PLAYER.offset()));
6565

6666
private final GeyserSession session;
6767

0 commit comments

Comments
 (0)