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

NBTSizeTracker exception message is incomplete

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      Based on 1.12 decompiled using MCP 9.40 PRE 1

      The bug

      The exception thrown by the method net.minecraft.nbt.NBTSizeTracker.read(long) when too large NBT data is read is created with an incomplete message. It is missing a space in front of "bytes".

      Current message
      "Tried to read NBT tag that was too big; tried to allocate: " + this.read + "bytes where max allowed: " + this.max
      
      Fixed message
      "Tried to read NBT tag that was too big; tried to allocate: " + this.read + " bytes where max allowed: " + this.max
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcono1234 [Mod] Marcono1234
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: