mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-02-09 05:43:01 +08:00
token fix
This commit is contained in:
parent
92aeb79ac3
commit
8bdcfb8908
@ -344,8 +344,8 @@ public class GameMainQuest {
|
|||||||
.setIsFinished(isFinished());
|
.setIsFinished(isFinished());
|
||||||
|
|
||||||
|
|
||||||
proto.setParentQuestState(getState().getValue());
|
proto.setParentQuestState(getState().getValue())
|
||||||
.setCutsceneEncryptionKey(QuestManager.getQuestKey(parentQuestId));
|
.setCutsceneEncryptionKey(QuestManager.getQuestKey(parentQuestId));
|
||||||
for (GameQuest quest : this.getChildQuests().values()) {
|
for (GameQuest quest : this.getChildQuests().values()) {
|
||||||
if (quest.getState() != QuestState.QUEST_STATE_UNSTARTED) {
|
if (quest.getState() != QuestState.QUEST_STATE_UNSTARTED) {
|
||||||
ChildQuest childQuest = ChildQuest.newBuilder()
|
ChildQuest childQuest = ChildQuest.newBuilder()
|
||||||
@ -356,7 +356,7 @@ public class GameMainQuest {
|
|||||||
proto.addChildQuestList(childQuest);
|
proto.addChildQuestList(childQuest);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i : getQuestVars()) {
|
for (int i : getQuestVars()) {
|
||||||
proto.addQuestVar(i);
|
proto.addQuestVar(i);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user