Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-25 15:50:14 +01:00
More attempts at fixing crash bug
Dieser Commit ist enthalten in:
Ursprung
a369ebccf7
Commit
2d079b2ddf
@ -107,6 +107,12 @@ public class TranslatorsInit {
|
||||
|
||||
session.getUpstream().sendPacketImmediately(startGamePacket);
|
||||
|
||||
BiomeDefinitionListPacket biomeDefListPacket = new BiomeDefinitionListPacket();
|
||||
session.getUpstream().sendPacketImmediately(biomeDefListPacket);
|
||||
|
||||
AvailableEntityIdentifiersPacket availableEntityPacket = new AvailableEntityIdentifiersPacket();
|
||||
session.getUpstream().sendPacketImmediately(availableEntityPacket);
|
||||
|
||||
Vector3f pos = new Vector3f(0, 0, 0);
|
||||
|
||||
int chunkX = pos.getFloorX() >> 4;
|
||||
@ -123,7 +129,7 @@ public class TranslatorsInit {
|
||||
|
||||
ByteBuf buf = Unpooled.buffer();
|
||||
|
||||
data.setSubChunksLength(1);
|
||||
data.setSubChunksLength(16);
|
||||
|
||||
for(int i = 0; i < 1; i++) {
|
||||
GeyserUtils.writeEmptySubChunk(buf);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren