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

Same Enchantments in an item components crashes the game

XMLWordPrintable

    • Confirmed
    • Commands, Crash, Enchantments
    • Important
    • Platform

      when you have 2 enchantments "sharpness" and "minecraft:sharpness" in the new components this will crash the game
      1./give @s diamond_sword[enchantments={levels:{sharpness:10,"sharpness":10}}]
      2./give @s diamond_sword[enchantments={levels:{sharpness:10,"minecraft:sharpness":10}}]
      the second one will crash the game, but the first one doesnt.

        1. command_history.txt
          0.2 kB
          Kormiya

            gegy1000 [Mojang] Gegy
            Kormiya Kormiya
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: