master_otnew
parent
d0af42766c
commit
5306957945
|
@ -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){
|
if (!cost1){
|
||||||
throw new ErrorCodeException(ErrorCode.ITEM_NOT_ENOUGH);
|
throw new ErrorCodeException(ErrorCode.ITEM_NOT_ENOUGH);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue