misode / misode.github.io

Data Pack Generators and Tools for Minecraft 1.15, 1.16, 1.17, 1.18, 1.19, 1.20, 1.21
https://misode.github.io/
MIT License
491 stars 68 forks source link

TypeError: Something went wrong rendering the generator: Something went wrong rendering the generator: Something went wrong rendering the generator: Something went wrong rendering the generator: E.split(...).at is not a function #557

Open Cwalpor opened 5 days ago

Cwalpor commented 5 days ago

Crash report

Stack trace

TypeError: Something went wrong rendering the generator: Something went wrong rendering the generator: Something went wrong rendering the generator: Something went wrong rendering the generator: E.split(...).at is not a function
    at at (src/app/components/generator/ProjectPanel.tsx:131:27)
    at V4 (../../node_modules/preact/dist/preact.module.js:1:8150)
    at du (../../node_modules/preact/dist/preact.module.js:1:5862)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:6130)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:7348)
    at L (../../node_modules/preact/dist/preact.module.js:1:6312)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:6130)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:6130)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:6130)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:7348)
    at L (../../node_modules/preact/dist/preact.module.js:1:6312)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:6130)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:7348)
    at L (../../node_modules/preact/dist/preact.module.js:1:6312)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:6130)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:7348)
    at L (../../node_modules/preact/dist/preact.module.js:1:6312)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:6130)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:6130)
    at n (../../node_modules/preact/dist/preact.module.js:1:2131)
    at w (../../node_modules/preact/dist/preact.module.js:1:6130)
    at j (../../node_modules/preact/dist/preact.module.js:1:1493)
    at q0 (../../node_modules/preact/dist/preact.module.js:1:1391)

Generator JSON

{
  "criteria": {
    "sprinting": {
      "trigger": "minecraft:tick",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "more_exhaustion:swim"
            }
          },
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "more_exhaustion:sprint"
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "more_exhaustion:player/sprint"
  }
}

I am not able to clear the code in the window, perpetuating the error code. How do I reset the website back to when it didn't save whatever I wrote in it? like when i first opened the website?