Skip to content

Commit 207223d

Browse files
committed
Hotfix .png.mcmeta implementation
1 parent 6684bb0 commit 207223d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/services/Spyglass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export class SpyglassService {
257257
return `${UNSAVED_URI}pack.mcmeta`
258258
}
259259
const pack = gen.tags?.includes('assets') ? 'assets' : 'data'
260-
return `${UNSAVED_URI}${pack}/draft/${genPath(gen, this.version)}/draft${gen.ext}`
260+
return `${UNSAVED_URI}${pack}/draft/${genPath(gen, this.version)}/draft${gen.ext ?? '.json'}`
261261
}
262262

263263
public watchFile(uri: string, handler: (docAndNode: core.DocAndNode) => void) {

0 commit comments

Comments
 (0)