Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 15:00:11 +01:00
Log if world height is extended
Dieser Commit ist enthalten in:
Ursprung
c5a34f83a8
Commit
98df97e863
@ -718,6 +718,7 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
|||||||
final int maxY = Math.min(this.dimensionType.maxY(), 512);
|
final int maxY = Math.min(this.dimensionType.maxY(), 512);
|
||||||
this.bedrockOverworldDimension = new BedrockDimension(minY, maxY - minY, true, BedrockDimension.OVERWORLD_ID);
|
this.bedrockOverworldDimension = new BedrockDimension(minY, maxY - minY, true, BedrockDimension.OVERWORLD_ID);
|
||||||
this.bedrockDimension = this.bedrockOverworldDimension;
|
this.bedrockDimension = this.bedrockOverworldDimension;
|
||||||
|
geyser.getLogger().debug("Extending overworld dimension to " + minY + " - " + maxY);
|
||||||
|
|
||||||
final DimensionDataPacket dimensionDataPacket = new DimensionDataPacket();
|
final DimensionDataPacket dimensionDataPacket = new DimensionDataPacket();
|
||||||
dimensionDataPacket.getDefinitions().add(new DimensionDefinition("minecraft:overworld", maxY, minY, 5));
|
dimensionDataPacket.getDefinitions().add(new DimensionDefinition("minecraft:overworld", maxY, minY, 5));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren