mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-23 06:50:26 +01:00
Fix chunk translation errors in online mode
This commit is contained in:
parent
e9b99b2098
commit
0d3b77e567
1 changed files with 4 additions and 0 deletions
|
@ -105,6 +105,10 @@ public class JavaLoginTranslator extends PacketTranslator<ClientboundLoginPacket
|
||||||
|
|
||||||
// It is now safe to send these packets
|
// It is now safe to send these packets
|
||||||
session.getUpstream().sendPostStartGamePackets();
|
session.getUpstream().sendPostStartGamePackets();
|
||||||
|
} else if (!session.isSpawned()) {
|
||||||
|
// Called for online mode, being presented with a GUI before logging ing
|
||||||
|
session.setDimensionType(dimensions.get(newDimension));
|
||||||
|
ChunkUtils.loadDimension(session);
|
||||||
}
|
}
|
||||||
|
|
||||||
AdventureSettingsPacket bedrockPacket = new AdventureSettingsPacket();
|
AdventureSettingsPacket bedrockPacket = new AdventureSettingsPacket();
|
||||||
|
|
Loading…
Reference in a new issue