File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -84,15 +84,7 @@ export class PostedItemMessageModel extends WarhammerMessageModel {
84
84
for ( let actor of paid )
85
85
{
86
86
const hasItem = actor . itemTypes [ this . itemData . type ] . find ( i => i . name === this . itemData . name
87
- && i . _stats . compendiumSource === this . itemData . _stats . compendiumSource
88
- && i . system . encumbrance . value === this . itemData . system . encumbrance . value
89
- && foundry . utils . objectsEqual ( i . system . price , this . itemData . system . price )
90
- && foundry . utils . objectsEqual ( i . system . description , this . itemData . system . description )
91
- && foundry . utils . objectsEqual ( i . system . availability , this . itemData . system . availability )
92
- && foundry . utils . objectsEqual ( i . system . flaws , this . itemData . system . flaws )
93
- && foundry . utils . objectsEqual ( i . system . qualities , this . itemData . system . qualities )
94
- && foundry . utils . objectsEqual ( i . system . trappingType , this . itemData . system . trappingType )
95
- && foundry . utils . objectsEqual ( i . system . damageToItem , this . itemData . system . damageToItem ) ) ;
87
+ && i . _stats . compendiumSource === this . itemData . _stats . compendiumSource ) ;
96
88
if ( hasItem ) {
97
89
await actor . updateEmbeddedDocuments ( "Item" , [ {
98
90
_id : hasItem . id ,
You can’t perform that action at this time.
0 commit comments