3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-03 14:50:19 +01:00

Explain that yes, we have to write 32 biome palettes always

Dieser Commit ist enthalten in:
Camotoy 2021-07-15 18:31:47 -04:00
Ursprung 89370ef648
Commit 99a7f9a012
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -100,6 +100,7 @@ public class JavaChunkDataTranslator extends PacketTranslator<ServerChunkDataPac
BiomeUtils.toNewBedrockBiome(column.getBiomeData(), i).writeToNetwork(byteBuf);
}
// As of 1.17.10, Bedrock hardcodes to always read 32 biome sections
int remainingEmptyBiomes = 32 - sectionCount;
for (int i = 0; i < remainingEmptyBiomes; i++) {
byteBuf.writeBytes(ChunkUtils.EMPTY_BIOME_DATA);