热更奖励id变更 bug

back_recharge
xuexinpeng 2021-07-15 14:06:42 +08:00
parent 0092fc6886
commit 83f9c3fe83
1 changed files with 3 additions and 0 deletions

View File

@ -333,6 +333,9 @@ public class HardStageLogic {
} }
private static boolean addDropAndStar(HardStageNode node, List<Integer> dropList, int rewardGroupId, User user) throws Exception { private static boolean addDropAndStar(HardStageNode node, List<Integer> dropList, int rewardGroupId, User user) throws Exception {
if(!node.getRewardMap().containsKey(rewardGroupId)){
node.getRewardMap().put(rewardGroupId,false);
}
if (!node.getRewardMap().get(rewardGroupId)) { if (!node.getRewardMap().get(rewardGroupId)) {
dropList.add(rewardGroupId); dropList.add(rewardGroupId);
node.getRewardMap().put(rewardGroupId, true); node.getRewardMap().put(rewardGroupId, true);