Skip to content

problem with Name and Lore including multiple space characters #6293

@muhyomuhyo

Description

@muhyomuhyo

issue

Expected behavior

multiple space characters in name and lore are ignored.

before paper #135, it's not happend.

expected behavior

should be..
name: stone axe (with 4 space characters)
lore:
01 (with no space characters)
0 2 (with a space character)
0 3 (with 2 space characters)
0 4 (with 3 space characters)
0 5 (with 4 space characters)
0 6 (with 5 space characters)
0 7 (with 6 space characters)
0 8 (with 7 space characters)
0 9 (with 8 space characters)
0 x (with 9 space characters)

Observed/Actual behavior

current behavior (after #136)
Name: stone axe (with a space character)
01 (with no space characters)
0 2 (with a space character)
0 3 (with a space character)
0 4 (with a space character)
0 5 (with a space character)
0 6 (with a space character)
0 7 (with a space character)
0 8 (with a space character)
0 9 (with a space character)
0 x (with a space character)

This may related with changes "fix empty array elements in command args (fixes #5777) #5778"

Steps/models to reproduce

see picture.

Plugin list

essentials, multiverse, worldGuard, worldEdit, worldborder, shopkeepers, LWCX, CoreProtect

Paper version

Paper version git-Paper-137 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: a67959e)

Agreements

  • I am running the latest version of Paper available from https://papermc.io/downloads.
  • I have searched for and ensured there isn't already an open issue regarding this.
  • My version of Minecraft is supported by Paper.

Other

No response
issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowThis issue only describes a minor inconvenience.type: bugSomething doesn't work as it was intended to.version: 1.17Game version 1.17

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions