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

NBTSizeTracker exception message is missing a space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12, 20w07a, 1.17.1, 21w44a, 1.18 Pre-release 1, 1.18.2, 22w18a, 1.19.2, 22w44a
    • Confirmed
    • Debug, Text

      The bug

      The exception thrown by the method net.minecraft.nbt.NbtAccounter.accountBits(long) (20w07a Mojang name) when too large NBT data is read 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
      

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: