Add a world and user setting variant for the tab order instead of just a user setting

This commit is contained in:
Oliver 2026-02-22 23:53:56 -07:00
parent e28901dcf2
commit 621d2575ac

View file

@ -19,11 +19,15 @@ export function rearrangeSidebarTabs() {
restricted: false, restricted: false,
type: SidebarTabRearranger, type: SidebarTabRearranger,
}); });
game.settings.register(__ID__, key, { game.settings.register(__ID__, `${key}World`, {
scope: `world`,
config: false,
type: Array,
});
game.settings.register(__ID__, `${key}User`, {
scope: `user`, scope: `user`,
config: false, config: false,
type: Array, type: Array,
default: [],
}); });
// #endregion Registration // #endregion Registration