diff --git a/src/NbtEditor.ts b/src/NbtEditor.ts index e94e66d..c9e846b 100644 --- a/src/NbtEditor.ts +++ b/src/NbtEditor.ts @@ -59,8 +59,6 @@ export class NbtEditorProvider implements vscode.CustomEditorProvider { this.webviews.add(document.uri, webviewPanel) - const assets = await getAssets(document.dataVersion, this.logger) - webviewPanel.webview.options = { enableScripts: true, localResourceRoots: [ @@ -68,7 +66,17 @@ export class NbtEditorProvider implements vscode.CustomEditorProvider this.onMessage(e, document, webviewPanel)) }