mojira.dev
MCPE-224271

/replaceitem fails with unexpected error when using an invalid slot

How to reproduce

  1. Run /replaceitem entity @s slot.saddle 0 apple

Expected result

Error should say “No targets expected item [Apple] into slot.saddle”

Observed result

Error says “An unknown error occurred while attempting to perform this command”

Attachments

Comments 2

Switch 22.1.0 :

The same problem happen when i’m running /replaceitem entity @a slot.armor (I tried many different numbers) chainmail_chestplate (i think it will be the same with any other chestplate)

It happens on 26.10 or 26.13 by the way

tryashtar

(Unassigned)

1454939

Community Consensus

Windows

1.21.100.22 Preview, 1.21.93 Hotfix

Retrieved