mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 20:59:12 +01:00
#2451: Fix direction in BadPacketException message
This commit is contained in:
parent
7410ce9077
commit
d591d0ed29
@ -34,7 +34,7 @@ public class MinecraftDecoder extends MessageToMessageDecoder<ByteBuf>
|
||||
|
||||
if ( in.isReadable() )
|
||||
{
|
||||
throw new BadPacketException( "Did not read all bytes from packet " + packet.getClass() + " " + packetId + " Protocol " + protocol + " Direction " + prot );
|
||||
throw new BadPacketException( "Did not read all bytes from packet " + packet.getClass() + " " + packetId + " Protocol " + protocol + " Direction " + prot.getDirection() );
|
||||
}
|
||||
} else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user