fix: 아이템 경매 버그 수정
This commit is contained in:
@@ -57,7 +57,7 @@ class AuctionUniqueItem extends Auction
|
||||
if (!key_exists($itemKey, $itemList)) {
|
||||
continue;
|
||||
}
|
||||
$ownItem = $general->getItem($itemKey);
|
||||
$ownItem = $general->getItem($itemType);
|
||||
if ($ownItem !== null && !$ownItem->isBuyable()) {
|
||||
return '이미 가진 아이템이 있습니다.';
|
||||
}
|
||||
@@ -186,7 +186,7 @@ class AuctionUniqueItem extends Auction
|
||||
if (!key_exists($itemCode, $itemList)) {
|
||||
continue;
|
||||
}
|
||||
$ownItem = $this->general->getItem($itemCode);
|
||||
$ownItem = $this->general->getItem($itemType);
|
||||
if ($ownItem !== null && !$ownItem->isBuyable()) {
|
||||
return '이미 가진 아이템이 있습니다.';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user