System.err already has priority prefix.

This commit is contained in:
md_5 2016-02-05 12:52:50 +11:00
parent 8490d611bf
commit 9c4380a201

View File

@ -51,9 +51,10 @@ public class Varint21FrameDecoder extends ByteToMessageDecoder
if ( !DIRECT_WARNING ) if ( !DIRECT_WARNING )
{ {
DIRECT_WARNING = true; DIRECT_WARNING = true;
System.err.println( "[WARN] Netty is not using direct IO buffers." ); System.err.println( "Netty is not using direct IO buffers." );
} }
// See https://github.com/SpigotMC/BungeeCord/issues/1717
ByteBuf dst = ctx.alloc().directBuffer( length ); ByteBuf dst = ctx.alloc().directBuffer( length );
in.readBytes( dst ); in.readBytes( dst );
out.add( dst ); out.add( dst );