This command:
/tellraw @s {"text":"a"}@
works, but it shouldn't. It outputs "a". Same with any other character at the end. But not two.
Linked issues
is duplicated by 4
Attachments
Comments 14
The reason is when reading a JSON text component, the position of the end cursor is one more than expected.
The issue lies on the method with remapped name class_9010.method_55376
(ParserUtils.getPos
), which has an extra +1
. In versions 1.20.2 and below, the issue lies on class_2561.class_2562.method_10880
(Component.Serializer.getPos
).
Can confirm in 1.13-pre3.