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

When a sign clickEvent is used to give items, the items don't show up until the world is reloaded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w28a
    • Fix Version/s: Minecraft 14w28b
    • Labels:
      None
    • Environment:

      Windows 8.1
      Java 8 Update 5

    • Confirmation Status:
      Unconfirmed

      Description

      When signs with a clickEvent that runs a /give command is clicked, the item goes into the player's inventory, but does not show up until you reload the world.

      To reproduce, type the following command into a command block, activate it, and then click the sign that appears. Reload the world to see the item it gives you.

      Command:

      setblock ~ ~1 ~ standing_sign 0 replace {Text1:"{text:\"text\",clickEvent:{action:run_command,value:\"give @p emerald 1\"}}"}

      Upon further investigation, selecting the slot that the item should be in and pressing 'q' will drop the item. Once you pick it up (you may have to do this more than once) the problem won't occur the next time you hit the sign.

        Attachments

          Activity

            People

            • Assignee:
              searge [Mojang] Searge (Michael Stoyke)
              Reporter:
              Avstar98 Avstar98
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: