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

Toolbar restore feature can be used to obtain unobtainable items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 17w06a, Minecraft 17w14a, Minecraft 17w15a, Minecraft 1.12.2, 1.15.1, 1.15.2, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w39a, 22w06a, 22w14a, 1.19.2, 1.19.3, 1.19.4, 23w51b
    • Confirmed
    • Creative
    • UI
    • Important
    • Platform

      The bug

      When restoring toolbars, items that are normally unobtainable through the creative inventory without the use of commands can be obtained. This can be used by players with creative mode but without operator status on servers to obtain items like dragon eggs, command blocks, structure blocks, and more. 

      Steps to reproduce

      1. In a world in which you have operator privileges, save a toolbar with dragon eggs, structure blocks, and command blocks, as well as some dirt and other items that are obtainable through the creative inventory
      2. Join a server on which you have creative mode (operator privileges are not required)
      3. Restore the toolbar, even without operator privileges

       

      Behaviour

      You will see that when you follow these reproduction steps, every item is restored, including the dragon eggs, structure blocks, and command blocks. The expected behaviour is that only the items obtainable without the use of commands would be restored.

            Unassigned Unassigned
            markderickson [Mod] markderickson
            Votes:
            32 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              CHK: