Prevent item creation and hide the item tab
This commit is contained in:
parent
f3a3a65be1
commit
92e7ec1c72
2 changed files with 12 additions and 0 deletions
7
module/documents/Item.mjs
Normal file
7
module/documents/Item.mjs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
const { Item } = foundry.documents;
|
||||
|
||||
export class TAFItem extends Item {
|
||||
async _preCreate() {
|
||||
return false;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue