mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 19:09:44 -05:00
Update CraftBukkit to Minecraft 1.4.6
This commit is contained in:
1 parent
9f1bf124ee
commit
23b6764374
115 files changed
+1930
-1426
No files matched your search
@@ -94,8 +94,8 @@ public class Packet51MapChunk extends Packet {
|
||||
dataoutputstream.write(this.buffer, 0, this.size);
|
||||
}
|
||||
|
||||
public void handle(NetHandler nethandler) {
|
||||
nethandler.a(this);
|
||||
public void handle(Connection connection) {
|
||||
connection.a(this);
|
||||
}
|
||||
|
||||
public int a() {
|
||||
@@ -152,11 +152,13 @@ public class Packet51MapChunk extends Packet {
|
||||
}
|
||||
}
|
||||
|
||||
for (l = 0; l < achunksection.length; ++l) {
|
||||
if (achunksection[l] != null && (!flag || !achunksection[l].a()) && (i & 1 << l) != 0) {
|
||||
nibblearray = achunksection[l].l();
|
||||
System.arraycopy(nibblearray.a, 0, abyte, j, nibblearray.a.length);
|
||||
j += nibblearray.a.length;
|
||||
if (!chunk.world.worldProvider.f) {
|
||||
for (l = 0; l < achunksection.length; ++l) {
|
||||
if (achunksection[l] != null && (!flag || !achunksection[l].a()) && (i & 1 << l) != 0) {
|
||||
nibblearray = achunksection[l].l();
|
||||
System.arraycopy(nibblearray.a, 0, abyte, j, nibblearray.a.length);
|
||||
j += nibblearray.a.length;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user