mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Hotfix .png.mcmeta implementation
This commit is contained in:
@@ -257,7 +257,7 @@ export class SpyglassService {
|
||||
return `${UNSAVED_URI}pack.mcmeta`
|
||||
}
|
||||
const pack = gen.tags?.includes('assets') ? 'assets' : 'data'
|
||||
return `${UNSAVED_URI}${pack}/draft/${genPath(gen, this.version)}/draft${gen.ext}`
|
||||
return `${UNSAVED_URI}${pack}/draft/${genPath(gen, this.version)}/draft${gen.ext ?? '.json'}`
|
||||
}
|
||||
|
||||
public watchFile(uri: string, handler: (docAndNode: core.DocAndNode) => void) {
|
||||
|
||||
Reference in New Issue
Block a user