Fixed reseting daily shop limits.
This commit is contained in:
parent
8c4fff7541
commit
e93f99e04e
@ -355,7 +355,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();
|
||||
}
|
||||
}
|
||||
|
@ -418,7 +418,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();
|
||||
}
|
||||
}
|
||||
|
@ -495,7 +495,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();
|
||||
}
|
||||
}
|
||||
|
@ -495,7 +495,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();
|
||||
}
|
||||
}
|
||||
|
@ -541,7 +541,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();
|
||||
}
|
||||
}
|
||||
|
@ -541,7 +541,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();
|
||||
}
|
||||
}
|
||||
|
@ -541,7 +541,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();
|
||||
}
|
||||
}
|
||||
|
@ -617,7 +617,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();
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -688,7 +688,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();
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -424,7 +424,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();
|
||||
}
|
||||
}
|
||||
|
@ -506,7 +506,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();
|
||||
}
|
||||
}
|
||||
|
@ -514,7 +514,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();
|
||||
}
|
||||
}
|
||||
|
@ -514,7 +514,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();
|
||||
}
|
||||
}
|
||||
|
@ -514,7 +514,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();
|
||||
}
|
||||
}
|
||||
|
@ -514,7 +514,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();
|
||||
}
|
||||
}
|
||||
|
@ -514,7 +514,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();
|
||||
}
|
||||
}
|
||||
|
@ -514,7 +514,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();
|
||||
}
|
||||
}
|
||||
|
@ -590,7 +590,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();
|
||||
}
|
||||
}
|
||||
|
@ -495,7 +495,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();
|
||||
}
|
||||
}
|
||||
|
@ -602,7 +602,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();
|
||||
}
|
||||
}
|
||||
@ -628,7 +628,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();
|
||||
}
|
||||
}
|
||||
|
@ -640,7 +640,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();
|
||||
}
|
||||
}
|
||||
@ -666,7 +666,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();
|
||||
}
|
||||
}
|
||||
|
@ -646,7 +646,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();
|
||||
}
|
||||
}
|
||||
@ -672,7 +672,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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user