30k -> 2mb item size limit.
This commit is contained in:
parent
32f7e58cf0
commit
5771c19146
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue