30k -> 2mb item size limit.
This commit is contained in:
@@ -136,7 +136,7 @@ public class PacketMEInventoryUpdate extends AppEngPacket
|
|||||||
is.writeToPacket( tmp );
|
is.writeToPacket( tmp );
|
||||||
|
|
||||||
compressFrame.flush();
|
compressFrame.flush();
|
||||||
if ( writtenBytes + tmp.readableBytes() > 30000 )
|
if ( writtenBytes + tmp.readableBytes() > 2 * 1024 * 1024 ) // 2mb!
|
||||||
throw new BufferOverflowException();
|
throw new BufferOverflowException();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user