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

Enchanted items with capitals in enchantment ID cause crash (path of location: minecraft:Cookie)

    Details

    • Confirmation Status:
      Confirmed

      Description

      Hovering with the mouse over an enchanted item causes a crash if the id contains capital letters

      /give @p minecraft:diamond_sword{Enchantments:[{id:"Cookie",lvl:1}]}
      
      Description: Rendering screen
      i: Non [a-z0-9/._-] character in path of location: minecraft:Cookie
      	at ok.<init>(SourceFile:36)
      	at ok.<init>(SourceFile:41)
      	at awn.a(SourceFile:582)
      	at cmd.a(SourceFile:99)
      	at cmd.a(SourceFile:95)
      	at cnh.a(SourceFile:674)
      	at cmy.b(SourceFile:177)
      	at cnh.a(SourceFile:631)
      	at cvw.a(SourceFile:821)
      	at cim.c(SourceFile:820)
      	at cim.a(SourceFile:381)
      	at net.minecraft.client.main.Main.main(SourceFile:144)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                boq [Mojang] Bartosz Bok
                Reporter:
                Markus_Rost Markus Rost
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: