fix: 유니크 경매 시 종류 제한 계산 버그

This commit is contained in:
2022-06-09 02:03:38 +09:00
parent 76a8740644
commit 64af68e2d6
+1 -1
View File
@@ -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);