Cleanup log statement
This commit is contained in:
parent
cad3cdd5f1
commit
30fee77c8e
6 changed files with 3 additions and 6 deletions
|
|
@ -105,9 +105,9 @@ Hooks.once(`ready`, () => {
|
|||
let defaultTab = game.settings.get(`dotdungeon`, `defaultTab`);
|
||||
if (defaultTab) {
|
||||
if (!ui.sidebar?.tabs?.[defaultTab]) {
|
||||
console.error(`Couldn't find a sidebar tab with ID:`, defaultTab);
|
||||
console.error(`.dungeon | Couldn't find a sidebar tab with ID:`, defaultTab);
|
||||
} else {
|
||||
console.debug(`Switching sidebar tab to:`, defaultTab);
|
||||
console.debug(`.dungeon | Switching sidebar tab to:`, defaultTab);
|
||||
ui.sidebar.tabs[defaultTab].activate();
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue