process alliance assets
This commit is contained in:
@@ -88,11 +88,11 @@ class ProcessAllianceAssets implements ShouldQueue
|
|||||||
'type_id' => $this->asset->type_id,
|
'type_id' => $this->asset->type_id,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if(isset($this->asset->is_singleton)) {
|
if(isset($this->asset->is_blueprint_copy)) {
|
||||||
Asset::where([
|
Asset::where([
|
||||||
'item_id' => $this->asset->item_id,
|
'item_id' => $this->asset->item_id,
|
||||||
])->update([
|
])->update([
|
||||||
'is_singleton' => $this->asset->is_blueprint_copy,
|
'is_blueprint_copy' => $this->asset->is_blueprint_copy,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user