Fix stat import
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
/************************************************************************************/
|
||||
import statParserFR from "./modules/import-stat-2.js";
|
||||
import { ClassCounter} from "https://www.uberwald.me/fvtt_appcount/count-class-ready.js"
|
||||
|
||||
/************************************************************************************/
|
||||
var compmod = "wfrp4e-core";
|
||||
@ -589,6 +588,11 @@ Hooks.once('init', () => {
|
||||
/*---------------------------------------------------------------------*/
|
||||
Hooks.once('ready', () => {
|
||||
|
||||
ClassCounter.registerUsageCount("wh4-fr-translation")
|
||||
import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{
|
||||
//console.log("ClassCounter loaded", moduleCounter)
|
||||
moduleCounter.ClassCounter.registerUsageCount("wh4-fr-translation")
|
||||
}).catch(err=>
|
||||
console.log("No stats available, giving up.")
|
||||
)
|
||||
|
||||
});
|
Reference in New Issue
Block a user