mojira.dev
MCPE-236159

/ride produces multiple lines of command output in one case

The bug

Most commands are supposed to produce exactly one success message or one failure message upon completion. However, the /ride command can produce multiple messages when selecting multiple entities, and some were affected but others weren’t.

Result

Expected output

Actual output

No targets started riding

One error message

✅ One error message

Some targets started riding, some didn’t

One success message

❌ One success and one error message

All targets started riding

One success message

✅ One success message

How to reproduce

  1. Spawn two armor stands, two minecarts, and a boat

  2. Run /ride @e[type=minecart,c=2] start_riding @e[type=armor_stand,c=1]
    ✅ One error message is produced

  3. Run /ride @e[type=armor_stand,c=2] start_riding @e[type=minecart,c=1]
    ❌ Multiple messages are produced

  4. Run /ride @e[type=armor_stand,c=2] start_riding @e[type=boat,c=1]
    ✅ One success message is produced

Expected behavior

In all cases, one feedback message should appear for one command

Observed behavior

In one case, multiple feedback messages appear

Notes

Due to MCPE-235945, other overloads of this command never produce errors.

Comments 0

No comments.

tryashtar

(Unassigned)

1566272

Confirmed

Windows

26.0, 26.10.23 Preview

Retrieved