|
|
@ -16,7 +16,7 @@ |
|
|
|
+ protected Deflater initialValue()
|
|
|
|
+ protected Deflater initialValue()
|
|
|
|
+ {
|
|
|
|
+ {
|
|
|
|
+ // Don't use higher compression level, slows things down too much
|
|
|
|
+ // Don't use higher compression level, slows things down too much
|
|
|
|
+ return new Deflater(6);
|
|
|
|
+ return new Deflater(4); // Spigot 6 -> 4
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+ // CraftBukkit end
|
|
|
|
+ // CraftBukkit end
|
|
|
@ -115,3 +115,9 @@ |
|
|
|
p_148840_1_.writeShort(this.field_149266_a.length);
|
|
|
|
p_148840_1_.writeShort(this.field_149266_a.length);
|
|
|
|
p_148840_1_.writeInt(this.field_149261_g);
|
|
|
|
p_148840_1_.writeInt(this.field_149261_g);
|
|
|
|
p_148840_1_.writeBoolean(this.field_149267_h);
|
|
|
|
p_148840_1_.writeBoolean(this.field_149267_h);
|
|
|
|
|
|
|
|
@@ -241,4 +251,4 @@
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
this.processPacket((INetHandlerPlayClient)p_148833_1_);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
-}
|
|
|
|
|
|
|
|
+}
|
|
|
|