mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 15:38:24 +00:00
Format code [skip actions]
This commit is contained in:
parent
4e8726d29e
commit
6d845e1cc6
@ -79,7 +79,7 @@ public class PlayerProgress {
|
||||
}
|
||||
|
||||
public int resetCurrentProgress(int progressId) {
|
||||
return questProgressCountMap.merge(progressId,0,Integer::min);
|
||||
return questProgressCountMap.merge(progressId, 0, Integer::min);
|
||||
}
|
||||
|
||||
@Entity
|
||||
|
@ -16,7 +16,7 @@ public class ContentFinishPlot extends BaseContent {
|
||||
MainQuestData.TalkData talkData =
|
||||
quest.getMainQuest().getTalks().get(Integer.valueOf(params[0]));
|
||||
GameQuest subQuest = quest.getMainQuest().getChildQuestById(params[0]);
|
||||
return (talkData != null && subQuest != null
|
||||
|| condition.getParamStr().equals(paramStr)) && condition.getParam()[0] == params[0];
|
||||
return (talkData != null && subQuest != null || condition.getParamStr().equals(paramStr))
|
||||
&& condition.getParam()[0] == params[0];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user