Skip to content

Commit

Permalink
Remove flags from unembedded item documents (foundryvtt#7569)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonward committed Apr 27, 2023
1 parent bda20c4 commit 2fc12f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/lib/extractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ class PackExtractor {
}

delete (docSource.system as { slug?: unknown }).slug;
docSource.flags = docSource.type === "condition" ? { pf2e: { condition: true } } : {};
docSource.flags = {};
if (isPhysicalData(docSource)) {
delete (docSource.system as { equipped?: unknown }).equipped;
} else if (docSource.type === "spell" || (docSource.type === "feat" && !docSource.system.location)) {
Expand Down

0 comments on commit 2fc12f8

Please sign in to comment.