Refactor des fiches de creatures
This commit is contained in:
@@ -119,9 +119,6 @@ Hooks.once("init", async () => {
|
||||
})
|
||||
|
||||
Hooks.once("ready", async () => {
|
||||
if (!game.modules.get("lib-wrapper")?.active && game.user.isGM) {
|
||||
ui.notifications.error("System fvtt-chroniques-de-l-etrange requires the 'libWrapper' module. Please install and activate it.")
|
||||
}
|
||||
await migrateIfNeeded()
|
||||
})
|
||||
|
||||
@@ -149,7 +146,7 @@ function injectCompendiumLink(html) {
|
||||
</section>
|
||||
`
|
||||
section.querySelector("button[data-action='open-cde-link']")?.addEventListener("click", () => {
|
||||
window.open("https://antre-monde.com/les-chroniques-de-letrengae/", "_blank")
|
||||
window.open("https://antre-monde.com/les-chroniques-de-letrange/", "_blank")
|
||||
})
|
||||
|
||||
header.parentNode.insertBefore(section, header)
|
||||
|
||||
Reference in New Issue
Block a user