3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-06 00:00:47 +01:00

Clarify error message

Dieser Commit ist enthalten in:
Andrew Steinborn 2019-06-12 00:43:30 -04:00
Ursprung 5fa5d9567d
Commit cc6d060fc5

Datei anzeigen

@ -33,7 +33,7 @@ public class MinecraftCompressDecoder extends MessageToMessageDecoder<ByteBuf> {
return;
}
checkFrame(expectedSize >= threshold, "Uncompressed size %s is greater than threshold %s",
checkFrame(expectedSize >= threshold, "Uncompressed size %s is less than threshold %s",
expectedSize, threshold);
checkFrame(expectedSize <= MAXIMUM_UNCOMPRESSED_SIZE, "Expected uncompressed size"
+ "%s is larger than protocol maximum of %s", expectedSize, MAXIMUM_UNCOMPRESSED_SIZE);