Mojira Archive
MC-279838

CustomPacketPayload size is only checked in DiscardedPayload

The message of the IllegalArgumentException in DiscardedPayload is the following:

"Payload may not be larger than" + maxBytes + " bytes"

From this error message I assume that the check only being present in DiscardedPayload is a bug.

Invalid

0x06

2025-01-27, 03:25 PM

2025-02-07, 08:16 AM

2025-02-07, 08:16 AM

0

0

Plausible

(Unassigned)

1.21.4, 25w04a, 25w05a

-