Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-96420

/clear doesn't clear - only creates Ghost Items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 16w04a
    • None
    • Unconfirmed

      In the last snapshot, clearing player's items creates ghost items.

      What I was expecting to happen:

      Clearing a player clears his items.

      What happened:

      It creates ghost items. You can move them in your inventory if you're in creative, you can right click on it and it plays the animation - even if nothing happen (for example, you can try to drink a potion, the animation will play BUT you won't receive the effect.)
      You can equip fantom armors ; you can break blocks in creative with the ghost sword (even if it won't make the sound, wich is weird).

      Steps to reproduce

      ● First, create a flat new world.
      ● Give yourself a repeating command block :

       /give @p minecraft:repeating_command_block

      ● Enter the following command in the command block :

       clear @a 

      ● Change the command block settings to : Always Active
      ● Now leave the command block & take items from your inventory.

      A message should display (your inventory was cleared) but the item is still here, as a ghost item.

        1. 2016-01-31_17.05.01.png
          141 kB
          TheMrZZ
        2. 2016-01-31_17.05.22.png
          177 kB
          TheMrZZ
        3. 2016-01-31_17.05.29.png
          336 kB
          TheMrZZ
        4. 2016-01-31_17.05.31.png
          286 kB
          TheMrZZ
        5. 2016-01-31_17.06.13.png
          134 kB
          TheMrZZ
        6. 2016-01-31_17.06.15.png
          72 kB
          TheMrZZ

            Unassigned Unassigned
            TheMrZZ TheMrZZ
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: