diff --git a/core/src/main/java/org/geysermc/geyser/entity/type/player/SessionPlayerEntity.java b/core/src/main/java/org/geysermc/geyser/entity/type/player/SessionPlayerEntity.java index 15aba2f8c..ff8ce2f5d 100644 --- a/core/src/main/java/org/geysermc/geyser/entity/type/player/SessionPlayerEntity.java +++ b/core/src/main/java/org/geysermc/geyser/entity/type/player/SessionPlayerEntity.java @@ -341,6 +341,13 @@ public class SessionPlayerEntity extends PlayerEntity { return bedrockDimension.minY() - 40; } + /** + * This method handles teleporting the player below or above the Bedrock void floor. + * The Java server should never see this desync as we adjust the position that we send to it + * + * @param up in which direction to teleport - true to resync our position, or false to be + * teleported below the void floor. + */ public void teleportVoidFloorFix(boolean up) { // Safety to avoid double teleports if ((voidPositionDesynched && !up) || (!voidPositionDesynched && up)) {