Fix chunk translation errors in online mode

This commit is contained in:
Camotoy 2022-10-26 17:57:40 -04:00
parent e9b99b2098
commit 0d3b77e567

View file

@ -105,6 +105,10 @@ public class JavaLoginTranslator extends PacketTranslator<ClientboundLoginPacket
// It is now safe to send these packets
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();