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)

XMLWordPrintable

    • Confirmed

      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)
      

            boq [Mojang] Bartosz Bok
            Markus_Rost MarkusRost
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: