Reset shop purchases each month

This commit is contained in:
Melledy
2025-12-07 21:06:53 -08:00
parent 8e7ef038ea
commit 209ce83fc9
2 changed files with 19 additions and 0 deletions

View File

@@ -691,6 +691,11 @@ public class Player implements GameDatabaseObject {
// Reset daily quests
this.getQuestManager().resetDailyQuests();
this.getBattlePassManager().getBattlePass().resetDailyQuests(resetWeekly);
// Reset monthly shop purchases
if (resetMonthly) {
this.getInventory().resetShopPurchases();
}
}
// Trigger quests + achievements