Vanilla ItemComponent in commands can't remove components

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    •  CraftBukkit version 4198-Spigot-146439e-0a0229b
    • none
    • Yes

      Minecraft added a feature where you could remove components when giving items, by adding a "!" prefix to the component. This appears to not work on Spigot

      Test Commands:
      `/give ShaneBee minecraft:diamond_axe`
      `/give ShaneBee minecraft:diamond_axe[!minecraft:attribute_modifiers]`

      You will notice both items say "9 components" and the second item still has the attribute modifiers.
      I tested this in vanilla and can confirm it works in vanilla (the component gets removed in vanilla)

            Assignee:
            md_5
            Reporter:
            Shane Bee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: