Mojira Archive
MC-118961

NBTSizeTracker exception message is missing a space

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

Unresolved

Marcono1234

2017-06-24, 06:56 PM

2022-11-03, 03:49 AM

4

3

Confirmed

Debug, Text

exception, nbt

Minecraft 1.12 - 22w44aMinecraft 1.12, 20w07a, 1.17.1, 21w44a, 1.18 Pre-release 1, 1.18.2, 22w18a, 1.19.2, 22w44a

-