master_otnew
PC-202302260912\Administrator 2023-11-24 17:05:51 +08:00
parent d0af42766c
commit 5306957945
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ public class EquipLogic {
}
// 一级道具消耗
boolean cost1 = ItemUtil.itemCost(user, new int[][]{{cost[0]}}, BIReason.GEM_NEW_LOTTERY_COST, 0);
boolean cost1 = ItemUtil.itemCost(user, new int[][]{cost}, BIReason.GEM_NEW_LOTTERY_COST, 0);
if (!cost1){
throw new ErrorCodeException(ErrorCode.ITEM_NOT_ENOUGH);
}