File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/systems/resourcepackCompiler Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ export default async function compileResourcePack(options: {
219219 . readFile ( blockAtlasPath , 'utf-8' )
220220 . catch ( ( ) => {
221221 console . log ( 'Creating new block atlas...' )
222- return '{ sources: [] }'
222+ return '{ " sources" : [] }'
223223 } )
224224 . then ( content => JSON . parse ( content ) as ITextureAtlas )
225225
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export default async function compileResourcePack(options: {
4444 . readFile ( blockAtlasPath , 'utf-8' )
4545 . catch ( ( ) => {
4646 console . log ( 'Creating new block atlas...' )
47- return '{ sources: [] }'
47+ return '{ " sources" : [] }'
4848 } )
4949 . then ( content => JSON . parse ( content ) as ITextureAtlas )
5050
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default async function compileResourcePack(options: {
4646 . readFile ( blockAtlasPath , 'utf-8' )
4747 . catch ( ( ) => {
4848 console . log ( 'Creating new block atlas...' )
49- return '{ sources: [] }'
49+ return '{ " sources" : [] }'
5050 } )
5151 . then ( content => JSON . parse ( content ) as ITextureAtlas )
5252
You can’t perform that action at this time.
0 commit comments