Make the API publicly accessible (closes #25)
This commit is contained in:
parent
e98584d648
commit
177a7bb637
2 changed files with 6 additions and 3 deletions
|
|
@ -1,5 +1,7 @@
|
|||
import { api } from "../api.mjs";
|
||||
import { ArtSidebar } from "../apps/ArtSidebar.mjs";
|
||||
import { registerCustomComponents } from "../apps/elements/_index.mjs";
|
||||
import { __ID__ } from "../consts.mjs";
|
||||
import helpers from "../handlebarsHelpers/_index.mjs";
|
||||
import { registerUserSettings } from "../settings/user.mjs";
|
||||
|
||||
|
|
@ -20,4 +22,6 @@ Hooks.on(`init`, () => {
|
|||
const temp = CONFIG.ui.sidebar.TABS.settings;
|
||||
delete CONFIG.ui.sidebar.TABS.settings;
|
||||
CONFIG.ui.sidebar.TABS.settings = temp;
|
||||
|
||||
game.modules.get(__ID__).api = api;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue