Fixed reseting daily shop limits.
This commit is contained in:
@@ -691,7 +691,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();
|
||||
}
|
||||
}
|
||||
@@ -717,7 +717,7 @@ public class DailyTaskManager
|
||||
// Update data for online players.
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
player.getVariables().remove(AccountVariables.LCOIN_SHOP_PRODUCT_DAILY_COUNT + holder.getProductionId());
|
||||
player.getAccountVariables().remove(AccountVariables.LCOIN_SHOP_PRODUCT_DAILY_COUNT + holder.getProductionId());
|
||||
player.getAccountVariables().storeMe();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user