1
This commit is contained in:
parent
a33c6a327c
commit
7d925991aa
@ -416,9 +416,12 @@ class BagController extends BaseAuthedController {
|
||||
|
||||
|
||||
}else{
|
||||
$items = \services\LootService::dropOutItem($itemMeta['loot']);
|
||||
foreach ($items as &$item){
|
||||
$item['item_num'] *= $itemNum;
|
||||
$items = array();
|
||||
for ($i=0;$i<$itemNum;$i++){
|
||||
$itemsTemp = \services\LootService::dropOutItem($itemMeta['loot']);
|
||||
foreach ($itemsTemp as $item){
|
||||
array_push($items,$item);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (count($costItems) > 0){
|
||||
|
Loading…
x
Reference in New Issue
Block a user