热更奖励id变更 bug
parent
0092fc6886
commit
83f9c3fe83
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue