Commit 17fb19eb authored by GanyusLeftHorn's avatar GanyusLeftHorn Committed by Melledy
Browse files

Add BP login trigger to daily reset.

parent 54c4f60a
...@@ -1387,6 +1387,10 @@ public class Player { ...@@ -1387,6 +1387,10 @@ public class Player {
// Reset daily BP missions. // Reset daily BP missions.
this.getBattlePassManager().resetDailyMissions(); this.getBattlePassManager().resetDailyMissions();
// Trigger login BP mission, so players who are online during the reset
// don't have to relog to clear the mission.
this.getBattlePassManager().triggerMission(WatcherTriggerType.TRIGGER_LOGIN);
// Reset weekly BP missions. // Reset weekly BP missions.
if (currentDate.getDayOfWeek() == DayOfWeek.MONDAY) { if (currentDate.getDayOfWeek() == DayOfWeek.MONDAY) {
this.getBattlePassManager().resetWeeklyMissions(); this.getBattlePassManager().resetWeeklyMissions();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment