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