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 Aug 7, 2023
1 parent 0b0dcf9 commit 8200607
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/java/emu/grasscutter/game/quest/GameMainQuest.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ public void randomQuestVar(int i, int low, int high) {
int previousValue = this.questVars[i];
this.questVars[i] = Utils.random.nextInt(low, high);
Grasscutter.getLogger()
.debug(
"questVar {} value randomized from {} to {}", i, previousValue, this.questVars[i]);
.debug("questVar {} value randomized from {} to {}", i, previousValue, this.questVars[i]);

this.triggerQuestVarAction(i, this.questVars[i]);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
public class ExecRandomQuestVar extends QuestExecHandler {
@Override
public boolean execute(GameQuest quest, QuestData.QuestExecParam condition, String... paramStr) {
quest.getMainQuest().randomQuestVar(Integer.parseInt(paramStr[0]), Integer.parseInt(paramStr[1]), Integer.parseInt(paramStr[2]));
quest
.getMainQuest()
.randomQuestVar(
Integer.parseInt(paramStr[0]),
Integer.parseInt(paramStr[1]),
Integer.parseInt(paramStr[2]));
return true;
}
}

0 comments on commit 8200607

Please sign in to comment.