修复玉虚
parent
76e4dd6d8d
commit
155c9505a4
|
|
@ -758,10 +758,12 @@ public class CrossYuxulundaoLogic {
|
|||
if(item != null){
|
||||
have = (int)item.getItemNum();
|
||||
}
|
||||
Map<Integer,Integer> removes = new HashMap<>();
|
||||
removes.put(107,have);
|
||||
int[][] items = ToolsUtil.getTwoArrayInt(removes);
|
||||
ItemUtil.itemCost(user, items, BIReason.YUXU_DEAL, 0);
|
||||
if(have > 0){
|
||||
Map<Integer,Integer> removes = new HashMap<>();
|
||||
removes.put(107,have);
|
||||
int[][] items = ToolsUtil.getTwoArrayInt(removes);
|
||||
ItemUtil.itemCost(user, items, BIReason.YUXU_DEAL, 0);
|
||||
}
|
||||
// 标记为已处理
|
||||
String mark = RedisKey.CROSS_YUXULUNDAO_DEAL_MARK + RedisKey.Delimiter_colon + user.getId();
|
||||
RedisUtil.getInstence().set(mark, "1");
|
||||
|
|
|
|||
Loading…
Reference in New Issue