mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-14 00:14:09 +00:00
Expand Large Packet Size to 30MB
This commit is contained in:
1 parent
fe7c24186d
commit
4ae8978399
1 file changed
+1
-1
@@ -102,7 +102,7 @@ public class ByteBufUtils extends cpw.mods.fml.common.network.ByteBufUtils {
|
||||
int length = buffer.readInt();
|
||||
byte[] bytes = new byte[length];
|
||||
buffer.readBytes(bytes);
|
||||
return CompressedStreamTools.func_152457_a(bytes, new NBTSizeTracker(10485760L));
|
||||
return CompressedStreamTools.func_152457_a(bytes, new NBTSizeTracker(31457280L));
|
||||
}
|
||||
|
||||
public static void writeString(ByteBuf buffer, String s){
|
||||
|
||||
Reference in new issue
Block a user