From 2257c372833da0fc0b62994b4e286bb2913b175c Mon Sep 17 00:00:00 2001 From: zontreck Date: Fri, 24 Jan 2025 08:23:03 -0700 Subject: [PATCH] Fix syntax --- lib/Editor.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Editor.dart b/lib/Editor.dart index bffa2a2..0b5452f 100644 --- a/lib/Editor.dart +++ b/lib/Editor.dart @@ -135,7 +135,7 @@ class EditorState extends State { if (filePath.endsWith(".txt") || filePath.endsWith(".snbt")) { ct = await SnbtIo.readFromFile(filePath) as CompoundTag; } else - CompoundTag ct = await NbtIo.read(filePath); + ct = await NbtIo.read(filePath); SessionData.ROOT_TAG = ct; }