File tree 1 file changed +7
-7
lines changed
common/src/main/java/dev/ftb/mods/ftbquests/quest
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1128,13 +1128,13 @@ public Quest getRelatedQuest() {
1128
1128
@ Override
1129
1129
public boolean isQuestObjectExcluded (TeamData teamData ) {
1130
1130
for (QuestObject qo : dependencies ) {
1131
- if (qo instanceof Quest quest ) {
1132
- if (!quest .dependantIDs .isEmpty () && quest .maxCompletableDeps > 0 ) {
1133
- long completed = quest .getDependants ().stream ().filter (teamData ::isCompleted ).count ();
1134
- if (completed >= quest .maxCompletableDeps && !teamData .isCompleted (this )) {
1135
- return true ;
1136
- }
1137
- }
1131
+ if (qo instanceof Quest quest ) {
1132
+ if (!quest .dependantIDs .isEmpty () && quest .maxCompletableDeps > 0 ) {
1133
+ long completed = quest .getDependants ().stream ().filter (teamData ::isCompleted ).count ();
1134
+ if (completed >= quest .maxCompletableDeps && !teamData .isCompleted (this )) {
1135
+ return true ;
1136
+ }
1137
+ }
1138
1138
// note: this effectively recurses, but the results are cached in TeamData to avoid excessive recursion
1139
1139
return teamData .isExcludedByOtherQuestline (qo );
1140
1140
}
You can’t perform that action at this time.
0 commit comments