Pass in the showEquipPrompt flag since we don't want it when making items directly from the sheet

This commit is contained in:
Eldritch-Oliver 2025-10-05 16:27:50 -06:00
parent 9e7ef02f62
commit a2b6fd8dfc

View file

@ -11,7 +11,7 @@ export async function createItemFromElement(target, { parent } = {}) {
const type = data.defaultItemType; const type = data.defaultItemType;
await Item.createDialog( await Item.createDialog(
{ type }, { type },
{ parent }, { parent, showEquipPrompt: false },
{ {
types, types,
folders: [], folders: [],