diff --git a/src/main/java/emu/grasscutter/game/quest/GameMainQuest.java b/src/main/java/emu/grasscutter/game/quest/GameMainQuest.java index 4688c0dae..a03cbc6ea 100644 --- a/src/main/java/emu/grasscutter/game/quest/GameMainQuest.java +++ b/src/main/java/emu/grasscutter/game/quest/GameMainQuest.java @@ -125,8 +125,7 @@ public class GameMainQuest { 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]); } diff --git a/src/main/java/emu/grasscutter/game/quest/exec/ExecRandomQuestVar.java b/src/main/java/emu/grasscutter/game/quest/exec/ExecRandomQuestVar.java index 0fa3ced33..d61a72772 100644 --- a/src/main/java/emu/grasscutter/game/quest/exec/ExecRandomQuestVar.java +++ b/src/main/java/emu/grasscutter/game/quest/exec/ExecRandomQuestVar.java @@ -10,7 +10,12 @@ import emu.grasscutter.game.quest.handlers.QuestExecHandler; 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; } }