mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 07:23:37 +02:00
Refactor resource settings to not be a method (#1723)
This commit is contained in:
parent
f72fb3cf31
commit
f298b2160a
7 changed files with 82 additions and 66 deletions
|
|
@ -233,6 +233,11 @@ Hooks.once('init', () => {
|
|||
return handlebarsRegistration();
|
||||
});
|
||||
|
||||
Hooks.on('i18nInit', () => {
|
||||
// Setup homebrew resources
|
||||
game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Homebrew).refreshConfig();
|
||||
});
|
||||
|
||||
Hooks.on('setup', () => {
|
||||
CONFIG.statusEffects = [
|
||||
...CONFIG.statusEffects.filter(x => !['dead', 'unconscious'].includes(x.id)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue