Fix actor auto-patch for babele

This commit is contained in:
2022-10-17 18:04:07 +02:00
parent 822bc58f9f
commit 0f09baa7fe
3 changed files with 5 additions and 6 deletions

View File

@ -296,9 +296,8 @@ const __add_actors_translation = () => {
"entries": [
]
}
game.babele.packs.set(metadata, new TranslatedCompendium(metadata, translations));
//newpack = new TranslatedCompendium(pack, translations);
//console.log("Actor compendium has been replaced !!!!", pack.metadata.name);
//console.log(metadata, translations)
game.babele.packs.set(metadata.metadata.id, new TranslatedCompendium(metadata.metadata, translations))
}
}
}