Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-173177

Ghost items produced with "hasitem" and "give"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.20.21 Preview, 1.20.20.20 Preview
    • None
    • Confirmed
    • Windows
    • 1075552

      How to reproduce

      1. Run this command in a repeating command block

      give @a[hasitem={item=apple,quantity=0,location=slot.inventory}] diamond
      

      2. Get an apple and start moving it around your inventory

      Expected behavior
      Totally normal inventory management

      Observed behavior
      Ghost items appear: when you try to place the apple down, you get a second fake apple that disappears when placed again.

            tryashtar [Mod] tryashtar
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: