We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83ad389 + 4378f3e commit 56263bbCopy full SHA for 56263bb
module/sheets/actor-standard-sheet.mjs
@@ -470,7 +470,7 @@ export class FUStandardActorSheet extends ActorSheet {
470
471
// Proceed if the item is being dragged from the compendium/sidebar or other actors
472
const itemData = await this._getItemDataFromDropData(data);
473
- const subtype = itemData.system.featureType || itemData.system.subtype.value;
+ const subtype = itemData.system.featureType || itemData.system.subtype?.value;
474
475
// Determine the configuration based on item type
476
const config = this._findItemConfig(itemData.type, subtype);
0 commit comments