mojira.dev
MC-164049

Pretty name of int array tag is wrong

The Bug

Int array tags are called TAG_Int instead of TAG_Int_Array in e.g. error messages.

Step to reproduce

/data modify storage _ _ set value [[I;], 0b]

❌ Can't insert TAG_Byte into list of TAG_Int (expected: Can't insert TAG_Byte into list of TAG_Int_Array)

Code Analysis

Code analysis by @unknown can be found in this comment.

Attachments

Comments 1

return "TAG_Int"; is written in net/minecraft/nbt/IntArrayTag/TYPE#getPrettyName() instead of return "TAG_Int_Array";.

intsuc

slicedlime

Confirmed

Low

Commands

nbt

19w42a, 19w44a

19w46a

Retrieved