diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java b/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java index 2bb5068e..2589decb 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java @@ -78,7 +78,7 @@ public abstract class DefinedPacket out |= ( in & 0x7F ) << ( bytes++ * 7 ); - if ( bytes > 32 ) + if ( bytes > 4 ) { throw new RuntimeException( "VarInt too big" ); }