Added setting registration status (closes #20)
This commit is contained in:
parent
b3119f5287
commit
dfcbef81ef
16 changed files with 68 additions and 19 deletions
|
|
@ -9,7 +9,7 @@ export function autoUnpauseOnLoad() {
|
|||
const prevented = Hooks.call(`${__ID__}.preventSetting`, key);
|
||||
if (!prevented) {
|
||||
Logger.log(`Preventing setting "${key}" from being registered`);
|
||||
return;
|
||||
return false;
|
||||
};
|
||||
|
||||
// #region Registration
|
||||
|
|
@ -34,4 +34,6 @@ export function autoUnpauseOnLoad() {
|
|||
};
|
||||
});
|
||||
// #endregion Implementation
|
||||
|
||||
return true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue