Skip to content

Commit

Permalink
fix hook call
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcomac committed Apr 19, 2024
1 parent b890399 commit fd5743c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/system-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ Hooks.once('tokenActionHudCoreApiReady', async (coreModule) => {
/** @override */
getAvailableRollHandlers () {
let coreTitle = 'Core OSE'
//if (coreModule.api.Utils.isModuleActive('midi-qol')) { coreTitle += ` [supports ${coreModule.api.Utils.getModuleTitle('midi-qol')}]` }
const choices = { core: coreTitle }
//coreModule.api.SystemManager.addHandler(choices, 'obsidian')
return choices
}

Expand All @@ -42,7 +40,6 @@ Hooks.once('tokenActionHudCoreApiReady', async (coreModule) => {

/** @override */
registerSettings (updateFunc) {
// systemSettings.register(updateFunc)
}

/** @override */
Expand All @@ -59,5 +56,5 @@ Hooks.once('tokenActionHudCoreApiReady', async (coreModule) => {
requiredCoreModuleVersion: '1.5',
SystemManager: oseSystemManager
}
Hooks.call('tokenActionHudSystemReady', module)
//Hooks.call('tokenActionHudSystemReady', module)
})

0 comments on commit fd5743c

Please sign in to comment.