geforkt von Mirrors/Velocity
Fix bad ordering
Dieser Commit ist enthalten in:
Ursprung
d538516f4c
Commit
eeb660ce00
@ -29,8 +29,8 @@ public enum ProtocolUtils {
|
||||
public static int readVarInt(ByteBuf buf) {
|
||||
int read = readVarIntSafely(buf);
|
||||
if (read == Integer.MIN_VALUE) {
|
||||
throw MinecraftDecoder.DEBUG ? BAD_VARINT_CACHED
|
||||
: new CorruptedFrameException("Bad varint decoded");
|
||||
throw MinecraftDecoder.DEBUG ? new CorruptedFrameException("Bad varint decoded")
|
||||
: BAD_VARINT_CACHED;
|
||||
}
|
||||
return read;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren