@@ -58,15 +58,15 @@ export class DatapackModifier {
5858 application_method : method
5959 } ;
6060 this . changeQueue . push ( change ) ;
61- console . log ( `Queued change: \nDatapack: ${ change . datapack . id } \nFiles: ${ change . file_path } \nValue: ${ change . value_path } \nValue: ${ change . value } \nMethod: ${ change . application_method } ` ) ;
61+ console . log ( `[DatapackModifier] Queued change: \nDatapack: ${ change . datapack . id } \nFiles: ${ change . file_path } \nValue: ${ change . value_path } \nValue: ${ change . value } \nMethod: ${ change . application_method } ` ) ;
6262 }
6363 else {
64- console . warn ( `Datapack change wasn't queued - value ${ value } (type <${ typeof value } >) doesn't match application method "${ method } !"` ) ;
64+ console . warn ( `[DatapackModifier] Datapack change wasn't queued - value ${ value } (type <${ typeof value } >) doesn't match application method "${ method } !"` ) ;
6565 }
6666 }
6767
6868 public async applyChanges ( datapacks : ReadonlyArray < Datapack > , export_settings : ExportSettings ) {
69- console . time ( "Applying changes to packs... " ) ;
69+ console . time ( "[DatapackModifier] Applying changes to packs" ) ;
7070
7171 // Apply changes to files
7272 for ( const change of this . changeQueue ) {
@@ -94,7 +94,7 @@ export class DatapackModifier {
9494 } else throw new Error ( "what" ) ;
9595 }
9696
97- console . timeEnd ( "Applying changes to packs... " ) ;
97+ console . timeEnd ( "[DatapackModifier] Applying changes to packs" ) ;
9898 for ( const pack in packs ) {
9999 if ( Object . prototype . hasOwnProperty . call ( packs , pack ) ) {
100100 const zip = packs [ pack ] ;
@@ -104,6 +104,7 @@ export class DatapackModifier {
104104 }
105105
106106 public async saveFile ( zip : JSZip , export_settings : ExportSettings ) {
107+ console . log ( `[DatapackModifier] Saving file... [${ zip . name } ]` ) ;
107108 await zip . generateAsync ( {
108109 type : "blob" ,
109110 compression : export_settings . compressionLevel == 0 ? "STORE" : "DEFLATE" ,
0 commit comments