Merge in Builder support.

This commit is contained in:
AlgorithmX2
2014-05-11 13:48:14 -05:00
31 changed files with 393 additions and 50 deletions
+1 -2
View File
@@ -419,8 +419,7 @@ public class Registration
}
catch (Throwable e)
{
AELog.severe( "Error with Feature: " + c.getName() );
throw new RuntimeException( e );
throw new RuntimeException( "Error with Feature: " + c.getName(), e );
}
}
@@ -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
{