Skip to content

Commit a40f8ce

Browse files
committed
chore: quick indentation fix
1 parent cf9c4cc commit a40f8ce

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

common/src/main/java/dev/ftb/mods/ftbquests/quest/Quest.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -1128,13 +1128,13 @@ public Quest getRelatedQuest() {
11281128
@Override
11291129
public boolean isQuestObjectExcluded(TeamData teamData) {
11301130
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+
}
11381138
// note: this effectively recurses, but the results are cached in TeamData to avoid excessive recursion
11391139
return teamData.isExcludedByOtherQuestline(qo);
11401140
}

0 commit comments

Comments
 (0)