mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 19:09:44 -05:00
Generic cleanup
This commit is contained in:
1 parent
938db4de2d
commit
96b1b8a10c
37 files changed
+667
-635
No files matched your search
@@ -28,7 +28,7 @@ public class Packet51MapChunk extends Packet {
|
||||
}
|
||||
|
||||
public Packet51MapChunk(int i, int j, int k, int l, int i1, int j1, byte[] data) {
|
||||
// CraftBukkit - end
|
||||
// CraftBukkit - end
|
||||
this.k = true;
|
||||
this.a = i;
|
||||
this.b = j;
|
||||
@@ -37,7 +37,7 @@ public class Packet51MapChunk extends Packet {
|
||||
this.e = i1;
|
||||
this.f = j1;
|
||||
byte[] abyte = data; // CraftBukkit - uses data from above constructor
|
||||
Deflater deflater = new Deflater(1);
|
||||
Deflater deflater = new Deflater(-1);
|
||||
|
||||
try {
|
||||
deflater.setInput(abyte);
|
||||
|
||||
Reference in new issue
Block a user