Prevent the AllItemSheet from being used on armour/shields

This commit is contained in:
Oliver-Akins 2025-07-20 21:43:41 -06:00
parent 99c1281da8
commit bfa26edd5b

View file

@ -113,10 +113,13 @@ Hooks.once(`init`, () => {
Items.registerSheet(game.system.id, ArmourSheet, {
makeDefault: true,
types: [`armour`],
types: [`armour`, `shield`],
label: `RipCrypt.sheet-names.ArmourSheet`,
themes: ArmourSheet.themes,
});
Items.unregisterSheet(game.system.id, AllItemSheetV1, {
types: [`armour`, `shield`],
});
// #endregion
// #endregion