mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-28 03:17:49 +01:00
Merge pull request #1113 from creeper123123321/master
Fix chunk writing
This commit is contained in:
commit
43e93e74b1
@ -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