From 98df97e86333816ef1ac12ffea80c4fd33b65395 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Wed, 28 Aug 2024 00:36:58 +0200 Subject: [PATCH] Log if world height is extended --- .../src/main/java/org/geysermc/geyser/session/GeyserSession.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/org/geysermc/geyser/session/GeyserSession.java b/core/src/main/java/org/geysermc/geyser/session/GeyserSession.java index 691875db8..ac7be8f2d 100644 --- a/core/src/main/java/org/geysermc/geyser/session/GeyserSession.java +++ b/core/src/main/java/org/geysermc/geyser/session/GeyserSession.java @@ -718,6 +718,7 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource { final int maxY = Math.min(this.dimensionType.maxY(), 512); this.bedrockOverworldDimension = new BedrockDimension(minY, maxY - minY, true, BedrockDimension.OVERWORLD_ID); this.bedrockDimension = this.bedrockOverworldDimension; + geyser.getLogger().debug("Extending overworld dimension to " + minY + " - " + maxY); final DimensionDataPacket dimensionDataPacket = new DimensionDataPacket(); dimensionDataPacket.getDefinitions().add(new DimensionDefinition("minecraft:overworld", maxY, minY, 5));