From 5771c19146170da4952fbcb322b8a3d77168a0a2 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sun, 11 May 2014 11:25:15 -0500 Subject: [PATCH] 30k -> 2mb item size limit. --- core/sync/packets/PacketMEInventoryUpdate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sync/packets/PacketMEInventoryUpdate.java b/core/sync/packets/PacketMEInventoryUpdate.java index 46b970e35..d4dda61cd 100644 --- a/core/sync/packets/PacketMEInventoryUpdate.java +++ b/core/sync/packets/PacketMEInventoryUpdate.java @@ -136,7 +136,7 @@ public class PacketMEInventoryUpdate extends AppEngPacket is.writeToPacket( tmp ); compressFrame.flush(); - if ( writtenBytes + tmp.readableBytes() > 30000 ) + if ( writtenBytes + tmp.readableBytes() > 2 * 1024 * 1024 ) // 2mb! throw new BufferOverflowException(); else {