Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-189477

the game closes completely when I save & quit with a line in the scripts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.51 Hotfix
    • None
    • Unconfirmed
    • Windows

      if i have this line "const addEnch = new EnchantmentType(`${message}`);" in my script
      after the script is executed, the "save & quit" button closes the game completely.
      I uploaded a video of when it happens, and the js file I'm using, the npc only has the scriptevent command

            XJos22X XJos22X
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: