We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52f49b9 commit 4831ff9Copy full SHA for 4831ff9
module/sheets/actor-standard-sheet.mjs
@@ -732,7 +732,10 @@ export class FUStandardActorSheet extends ActorSheet {
732
733
// Modify the duplicated item's name
734
duplicatedItemData.name = `Copy of ${item.data.name || item.name}`;
735
-
+ duplicatedItemData.system.isEquipped = {
736
+ value: false,
737
+ slot: 'default',
738
+ };
739
// Add the duplicated item to the actor
740
await this.actor.createEmbeddedDocuments('Item', [duplicatedItemData]);
741
}
0 commit comments