fix adventure
parent
f755892340
commit
f35bd27201
|
|
@ -202,6 +202,7 @@ public class CombatLogic {
|
|||
if(adventureFastReward.get(1).getItemlistCount()==0){
|
||||
throw new ErrorCodeException(ErrorCode.REWARD_COLLECTING);
|
||||
}
|
||||
user.getUserMissionManager().onGameEvent(user,GameEvent.ADVENTURE_TAKEREWARD,1);
|
||||
}else{
|
||||
String err ="";
|
||||
if(position == 0){
|
||||
|
|
@ -229,7 +230,7 @@ public class CombatLogic {
|
|||
Map<Integer, CommonProto.Drop> result = new HashMap<>(2);
|
||||
result.put(1,baseBuilder.build());
|
||||
result.put(2,randomBuilder.build());
|
||||
user.getUserMissionManager().onGameEvent(user,GameEvent.ADVENTURE_TAKEREWARD,1);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue