[Bleeding] Include chunk biome data for refresh chunk. Fixes BUKKIT-1166

This commit is contained in:
Mike Primm
2012-04-04 19:55:16 -05:00
committed by feildmaster
parent dba9349ed4
commit 08740d7f91
2 changed files with 8 additions and 12 deletions

View File

@@ -114,7 +114,7 @@ class PlayerInstance {
if (this.dirtyCount == 64) {
i = this.chunkX * 16;
j = this.chunkZ * 16;
this.sendAll(new Packet51MapChunk(worldserver.getChunkAt(this.chunkX, this.chunkZ), false, this.h));
this.sendAll(new Packet51MapChunk(worldserver.getChunkAt(this.chunkX, this.chunkZ), (this.h == 0xFFFF), this.h)); // CraftBukkit - send everything (including biome) if all sections flagged
for (k = 0; k < 16; ++k) {
if ((this.h & 1 << k) != 0) {