summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/PlayerChunk.java
diff options
context:
space:
mode:
authormbax <matt@phozop.net>2013-07-08 19:43:37 -0400
committermbax <matt@phozop.net>2013-07-08 19:43:37 -0400
commitf6a0b1e4265544eaee4e4d4adb660812b01d6a06 (patch)
tree84b161b5b99aa45602889987e03b74ad4a9a8e08 /src/main/java/net/minecraft/server/PlayerChunk.java
parent2d9a9d8cea904deb7f748a0bbdd76a10012b3821 (diff)
downloadcraftbukkit-f6a0b1e4265544eaee4e4d4adb660812b01d6a06.tar
craftbukkit-f6a0b1e4265544eaee4e4d4adb660812b01d6a06.tar.gz
craftbukkit-f6a0b1e4265544eaee4e4d4adb660812b01d6a06.tar.lz
craftbukkit-f6a0b1e4265544eaee4e4d4adb660812b01d6a06.tar.xz
craftbukkit-f6a0b1e4265544eaee4e4d4adb660812b01d6a06.zip
Update CraftBukkit to 1.6.2
Diffstat (limited to 'src/main/java/net/minecraft/server/PlayerChunk.java')
-rw-r--r--src/main/java/net/minecraft/server/PlayerChunk.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/PlayerChunk.java b/src/main/java/net/minecraft/server/PlayerChunk.java
index 81d66e45..90083150 100644
--- a/src/main/java/net/minecraft/server/PlayerChunk.java
+++ b/src/main/java/net/minecraft/server/PlayerChunk.java
@@ -124,7 +124,7 @@ class PlayerChunk {
i = this.location.x * 16 + (this.dirtyBlocks[0] >> 12 & 15);
j = this.dirtyBlocks[0] & 255;
k = this.location.z * 16 + (this.dirtyBlocks[0] >> 8 & 15);
- this.sendAll(new Packet51MapChunk(PlayerChunkMap.a(this.playerChunkMap).getChunkAt(this.location.x, this.location.z), (this.f == 0xFFFF), this.f)); // CraftBukkit - send everything (including biome) if all sections flagged
+ this.sendAll(new Packet53BlockChange(i, j, k, PlayerChunkMap.a(this.playerChunkMap)));
if (PlayerChunkMap.a(this.playerChunkMap).isTileEntity(i, j, k)) {
this.sendTileEntity(PlayerChunkMap.a(this.playerChunkMap).getTileEntity(i, j, k));
}
@@ -134,7 +134,7 @@ class PlayerChunk {
if (this.dirtyCount == 64) {
i = this.location.x * 16;
j = this.location.z * 16;
- this.sendAll(new Packet51MapChunk(PlayerChunkMap.a(this.playerChunkMap).getChunkAt(this.location.x, this.location.z), false, this.f));
+ this.sendAll(new Packet51MapChunk(PlayerChunkMap.a(this.playerChunkMap).getChunkAt(this.location.x, this.location.z), (this.f == 0xFFFF), this.f)); // CraftBukkit - send everything (including biome) if all sections flagged
for (k = 0; k < 16; ++k) {
if ((this.f & 1 << k) != 0) {