make sure to notify the drop if necessary

This commit is contained in:
Mario Vavti
2024-11-10 18:53:46 +01:00
parent 43acb86aab
commit e52714ed16

View File

@@ -1918,6 +1918,10 @@ function attach_store_item($channel, $observer, $file) {
$stage = (($r[0]['item_hidden']) ? DROPITEM_NORMAL : DROPITEM_PHASE1);
drop_item($r[0]['id'], $stage);
if (empty($r[0]['item_hidden'])) {
Master::Summon(['Notifier', 'drop', $i[0]['id']]);
}
}
$filetype_parts = explode('/', $file['filetype']);