mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 20:59:12 +01:00
System.err already has priority prefix.
This commit is contained in:
parent
8490d611bf
commit
9c4380a201
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user