fix: 유니크 경매 시 종류 제한 계산 버그
This commit is contained in:
@@ -155,7 +155,7 @@ class AuctionUniqueItem extends Auction
|
|||||||
|
|
||||||
$bidItemTypes = new Set();
|
$bidItemTypes = new Set();
|
||||||
foreach (GameConst::$allItems as $itemType => $itemList) {
|
foreach (GameConst::$allItems as $itemType => $itemList) {
|
||||||
if (key_exists($itemCode, $itemList) && $itemList[$itemCode] <= 0) {
|
if (($itemList[$itemCode] ?? 0) <= 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$bidItemTypes->add($itemType);
|
$bidItemTypes->add($itemType);
|
||||||
|
|||||||
Reference in New Issue
Block a user