From 64af68e2d61a5271aac02c023ea17b47107fdd0e Mon Sep 17 00:00:00 2001 From: Hide_D Date: Thu, 9 Jun 2022 02:03:38 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9C=A0=EB=8B=88=ED=81=AC=20=EA=B2=BD?= =?UTF-8?q?=EB=A7=A4=20=EC=8B=9C=20=EC=A2=85=EB=A5=98=20=EC=A0=9C=ED=95=9C?= =?UTF-8?q?=20=EA=B3=84=EC=82=B0=20=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/AuctionUniqueItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/AuctionUniqueItem.php b/hwe/sammo/AuctionUniqueItem.php index 3d6b0216..9ede126f 100644 --- a/hwe/sammo/AuctionUniqueItem.php +++ b/hwe/sammo/AuctionUniqueItem.php @@ -155,7 +155,7 @@ class AuctionUniqueItem extends Auction $bidItemTypes = new Set(); foreach (GameConst::$allItems as $itemType => $itemList) { - if (key_exists($itemCode, $itemList) && $itemList[$itemCode] <= 0) { + if (($itemList[$itemCode] ?? 0) <= 0) { continue; } $bidItemTypes->add($itemType);