mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 01:22:54 +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) {
|
public int resetCurrentProgress(int progressId) {
|
||||||
return questProgressCountMap.merge(progressId,0,Integer::min);
|
return questProgressCountMap.merge(progressId, 0, Integer::min);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@ -16,7 +16,7 @@ public class ContentFinishPlot extends BaseContent {
|
|||||||
MainQuestData.TalkData talkData =
|
MainQuestData.TalkData talkData =
|
||||||
quest.getMainQuest().getTalks().get(Integer.valueOf(params[0]));
|
quest.getMainQuest().getTalks().get(Integer.valueOf(params[0]));
|
||||||
GameQuest subQuest = quest.getMainQuest().getChildQuestById(params[0]);
|
GameQuest subQuest = quest.getMainQuest().getChildQuestById(params[0]);
|
||||||
return (talkData != null && subQuest != null
|
return (talkData != null && subQuest != null || condition.getParamStr().equals(paramStr))
|
||||||
|| condition.getParamStr().equals(paramStr)) && condition.getParam()[0] == params[0];
|
&& condition.getParam()[0] == params[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user