mojira.dev
MC-296211

Mistake in the source string (Crowdin)

The string in question appears when using the /attribute and /spectate commands. However, it only works with the following selectors: (https://crowdin.com/editor/minecraft/10038/enus-ptbr?view=comfortable#5341538)

. @p (player executing the command)
. @n (nearest entity, which is the player themselves if alone, or another nearby player)
. @r (random player)
. @s (entity or player executing the command)

It does not work with other selectors, such as:
. @a (all players)
. @e (choose entity type) - for example, @e[type=minecraft:slime].

Notice that more than one player was not mentioned, only a single player executing the command. I tested it on other creatures/entities, but it was only executed on one player at a time, making the original string "[...] the provided selector allows more than one" not very logical. Additionally, it did not work on creatures.

Original string:”Only one player is allowed, but the provided selector allows more than one.”

Correction:”The execution of the selector allows one or more players.” or “The selector used allows one or more players.“

Attachments

Comments 2

I don’t understand the problem. Please provide steps to reproduce and describe what you expected to see and what you actually saw.

I managed to solve the problem.

IagoEmanuel15

(Unassigned)

Unconfirmed

1.21.5

Retrieved