mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-09-28 14:37:42 +02:00
Fix chunk writing
This commit is contained in:
parent
c1147cb9f7
commit
ba7817170b
@ -100,7 +100,7 @@ public class Chunk1_9_3_4Type extends PartialType<Chunk, ClientWorld> {
|
||||
// Write biome data
|
||||
if (chunk.isBiomeData()) {
|
||||
for (int biome : chunk.getBiomeData()) {
|
||||
buf.writeByte((byte) biome);
|
||||
output.writeByte((byte) biome);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -159,7 +159,7 @@ public class Chunk1_9to1_8Type extends PartialType<Chunk, ClientChunks> {
|
||||
// Write biome data
|
||||
if (chunk.hasBiomeData()) {
|
||||
for (int biome : chunk.getBiomeData()) {
|
||||
buf.writeByte((byte) biome);
|
||||
output.writeByte((byte) biome);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user