Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-279838

CustomPacketPayload size is only checked in DiscardedPayload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.4, 25w04a, 25w05a
    • None
    • Plausible
    • (Unassigned)

      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.

            Unassigned Unassigned
            0x06 0x06
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: