Merge pull request #1113 from creeper123123321/master

Fix chunk writing
This commit is contained in:
Myles 2018-12-07 21:14:18 +00:00 committed by GitHub
commit 43e93e74b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}
}