Skip to content

Commit

Permalink
Format code [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 31, 2023
1 parent 465582b commit a4ad781
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ public final class DungeonManager {
public DungeonManager(@NonNull Scene scene, @NonNull DungeonData dungeonData) {
this.scene = scene;
this.dungeonData = dungeonData;
if(dungeonData.getPassCond() == 0){
if (dungeonData.getPassCond() == 0) {
this.passConfigData = new DungeonPassConfigData();
this.passConfigData.setConds(new ArrayList<>());
}else {
} else {
this.passConfigData = GameData.getDungeonPassConfigDataMap().get(dungeonData.getPassCond());
}
this.finishedConditions = new int[this.passConfigData.getConds().size()];
Expand All @@ -81,7 +81,7 @@ public void triggerEvent(DungeonPassConditionType conditionType, int... params)
}

public boolean isFinishedSuccessfully() {
if(passConfigData.getLogicType()==null) return false;
if (passConfigData.getLogicType() == null) return false;
return LogicType.calculate(passConfigData.getLogicType(), finishedConditions);
}

Expand Down

0 comments on commit a4ad781

Please sign in to comment.