Fix Hook init usage in v12
This commit is contained in:
parent
8e578c6566
commit
72a9752820
@ -87,9 +87,9 @@ export class SystemReveDeDragon {
|
|||||||
|
|
||||||
static start() {
|
static start() {
|
||||||
const system = new SystemReveDeDragon()
|
const system = new SystemReveDeDragon()
|
||||||
Hooks.once('init', async () => await system.onInit())
|
Hooks.once('init', () => system.onInit())
|
||||||
Hooks.once('diceSoNiceReady', (dice3d) => RdDDice.diceSoNiceReady(dice3d))
|
Hooks.once('diceSoNiceReady', (dice3d) => RdDDice.diceSoNiceReady(dice3d))
|
||||||
Hooks.once('ready', async () => await system.onReady())
|
Hooks.once('ready', () => system.onReady())
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user