Fix syntax

This commit is contained in:
zontreck 2025-01-24 08:23:03 -07:00
parent fc6a268792
commit 2257c37283

View file

@ -135,7 +135,7 @@ class EditorState extends State<Editor> {
if (filePath.endsWith(".txt") || filePath.endsWith(".snbt")) { if (filePath.endsWith(".txt") || filePath.endsWith(".snbt")) {
ct = await SnbtIo.readFromFile(filePath) as CompoundTag; ct = await SnbtIo.readFromFile(filePath) as CompoundTag;
} else } else
CompoundTag ct = await NbtIo.read(filePath); ct = await NbtIo.read(filePath);
SessionData.ROOT_TAG = ct; SessionData.ROOT_TAG = ct;
} }