Fix chunk writing

This commit is contained in:
creeper123123321 2018-12-07 19:10:40 -02:00
parent c1147cb9f7
commit ba7817170b
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1
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);
}
}
}