Fixed reseting daily shop limits.

This commit is contained in:
MobiusDevelopment
2022-10-16 21:58:29 +00:00
parent 8c4fff7541
commit e93f99e04e
24 changed files with 28 additions and 28 deletions

View File

@@ -687,7 +687,7 @@ public class DailyTaskManager
// Update data for online players.
for (Player player : World.getInstance().getPlayers())
{
player.getVariables().remove(AccountVariables.PRIME_SHOP_PRODUCT_DAILY_COUNT + holder.getBrId());
player.getAccountVariables().remove(AccountVariables.PRIME_SHOP_PRODUCT_DAILY_COUNT + holder.getBrId());
player.getAccountVariables().storeMe();
}
}