Prevent the AllItemSheet from being used on armour/shields
This commit is contained in:
parent
99c1281da8
commit
bfa26edd5b
1 changed files with 4 additions and 1 deletions
|
|
@ -113,10 +113,13 @@ Hooks.once(`init`, () => {
|
||||||
|
|
||||||
Items.registerSheet(game.system.id, ArmourSheet, {
|
Items.registerSheet(game.system.id, ArmourSheet, {
|
||||||
makeDefault: true,
|
makeDefault: true,
|
||||||
types: [`armour`],
|
types: [`armour`, `shield`],
|
||||||
label: `RipCrypt.sheet-names.ArmourSheet`,
|
label: `RipCrypt.sheet-names.ArmourSheet`,
|
||||||
themes: ArmourSheet.themes,
|
themes: ArmourSheet.themes,
|
||||||
});
|
});
|
||||||
|
Items.unregisterSheet(game.system.id, AllItemSheetV1, {
|
||||||
|
types: [`armour`, `shield`],
|
||||||
|
});
|
||||||
// #endregion
|
// #endregion
|
||||||
// #endregion
|
// #endregion
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue