mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-15 05:44:36 +01:00
Allow battle pass weeklies to be reset
This commit is contained in:
@@ -534,17 +534,17 @@ public class Player implements GameDatabaseObject {
|
||||
}
|
||||
|
||||
// Reset dailies
|
||||
this.resetDailies();
|
||||
this.resetDailies(false);
|
||||
|
||||
// Update last epoch day
|
||||
this.lastEpochDay = Nebula.getGameContext().getEpochDays();
|
||||
Nebula.getGameDatabase().update(this, this.getUid(), "lastEpochDay", this.lastEpochDay);
|
||||
}
|
||||
|
||||
public void resetDailies() {
|
||||
public void resetDailies(boolean resetWeekly) {
|
||||
// Reset daily quests
|
||||
this.getQuestManager().resetDailyQuests();
|
||||
this.getBattlePassManager().getBattlePass().resetDailyQuests();
|
||||
this.getBattlePassManager().getBattlePass().resetDailyQuests(resetWeekly);
|
||||
}
|
||||
|
||||
// Trigger quests
|
||||
|
||||
Reference in New Issue
Block a user