From e52714ed167d8cd5c2091efc74b7eb6db1adc4ab Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 10 Nov 2024 18:53:46 +0100 Subject: [PATCH] make sure to notify the drop if necessary --- include/attach.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/attach.php b/include/attach.php index 15594ced8..1d987b473 100644 --- a/include/attach.php +++ b/include/attach.php @@ -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']);