Hide the preventUserConfigOpen setting from GMs (closes #19)

This commit is contained in:
Oliver 2025-12-09 21:30:47 -07:00
parent dacb2e3046
commit b3119f5287
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@
}, },
"preventUserConfigOpen": { "preventUserConfigOpen": {
"name": "Prevent Auto User Config", "name": "Prevent Auto User Config",
"hint": "(v13+) Prevents Foundry from opening the User Configuration when a player loads into the world." "hint": "(v13+, Non-GMs) Prevents Foundry from opening the User Configuration when a player loads into the world."
}, },
"repositionHotbar": { "repositionHotbar": {
"name": "Reposition Hotbar", "name": "Reposition Hotbar",

View file

@ -19,7 +19,7 @@ export function preventUserConfigOpen() {
scope: `user`, scope: `user`,
type: Boolean, type: Boolean,
default: false, default: false,
config: true, config: !game.user.isGM,
requiresReload: false, requiresReload: false,
}); });
// #endregion Registration // #endregion Registration