DailyTaskManager method visibility should be private.
This commit is contained in:
@@ -342,7 +342,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -342,7 +342,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -342,7 +342,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -388,7 +388,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Clan contributions has been resetted.");
|
LOGGER.info("Clan contributions has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -388,7 +388,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Clan contributions has been resetted.");
|
LOGGER.info("Clan contributions has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -388,7 +388,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Clan contributions has been resetted.");
|
LOGGER.info("Clan contributions has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -392,7 +392,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Clan contributions has been resetted.");
|
LOGGER.info("Clan contributions has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZones()
|
private void resetTimedHuntingZones()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -428,7 +428,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Special Hunting Zones has been resetted.");
|
LOGGER.info("Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZonesWeekly()
|
private void resetTimedHuntingZonesWeekly()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -464,7 +464,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -396,7 +396,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Clan contributions has been resetted.");
|
LOGGER.info("Clan contributions has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetThroneOfHeroes()
|
private void resetThroneOfHeroes()
|
||||||
{
|
{
|
||||||
// Update data for offline players.
|
// Update data for offline players.
|
||||||
try (Connection con = DatabaseFactory.getConnection())
|
try (Connection con = DatabaseFactory.getConnection())
|
||||||
@@ -431,7 +431,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Throne of Heroes Entry has been resetted.");
|
LOGGER.info("Throne of Heroes Entry has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZones()
|
private void resetTimedHuntingZones()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -467,7 +467,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Special Hunting Zones has been resetted.");
|
LOGGER.info("Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZonesWeekly()
|
private void resetTimedHuntingZonesWeekly()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -503,7 +503,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetHomunculusResetPoints()
|
private void resetHomunculusResetPoints()
|
||||||
{
|
{
|
||||||
// Update data for offline players.
|
// Update data for offline players.
|
||||||
try (Connection con = DatabaseFactory.getConnection())
|
try (Connection con = DatabaseFactory.getConnection())
|
||||||
@@ -536,7 +536,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Homunculus Reset Points has been resetted.");
|
LOGGER.info("Homunculus Reset Points has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -396,7 +396,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Clan contributions has been resetted.");
|
LOGGER.info("Clan contributions has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetThroneOfHeroes()
|
private void resetThroneOfHeroes()
|
||||||
{
|
{
|
||||||
// Update data for offline players.
|
// Update data for offline players.
|
||||||
try (Connection con = DatabaseFactory.getConnection())
|
try (Connection con = DatabaseFactory.getConnection())
|
||||||
@@ -431,7 +431,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Throne of Heroes Entry has been resetted.");
|
LOGGER.info("Throne of Heroes Entry has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZones()
|
private void resetTimedHuntingZones()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -467,7 +467,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Special Hunting Zones has been resetted.");
|
LOGGER.info("Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZonesWeekly()
|
private void resetTimedHuntingZonesWeekly()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -503,7 +503,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetHomunculusResetPoints()
|
private void resetHomunculusResetPoints()
|
||||||
{
|
{
|
||||||
// Update data for offline players.
|
// Update data for offline players.
|
||||||
try (Connection con = DatabaseFactory.getConnection())
|
try (Connection con = DatabaseFactory.getConnection())
|
||||||
@@ -536,7 +536,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Homunculus Reset Points has been resetted.");
|
LOGGER.info("Homunculus Reset Points has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -400,7 +400,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Clan contributions has been resetted.");
|
LOGGER.info("Clan contributions has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetThroneOfHeroes()
|
private void resetThroneOfHeroes()
|
||||||
{
|
{
|
||||||
// Update data for offline players.
|
// Update data for offline players.
|
||||||
try (Connection con = DatabaseFactory.getConnection())
|
try (Connection con = DatabaseFactory.getConnection())
|
||||||
@@ -435,7 +435,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Throne of Heroes Entry has been resetted.");
|
LOGGER.info("Throne of Heroes Entry has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZones()
|
private void resetTimedHuntingZones()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -471,7 +471,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Special Hunting Zones has been resetted.");
|
LOGGER.info("Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZonesWeekly()
|
private void resetTimedHuntingZonesWeekly()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -507,7 +507,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetHomunculusResetPoints()
|
private void resetHomunculusResetPoints()
|
||||||
{
|
{
|
||||||
// Update data for offline players.
|
// Update data for offline players.
|
||||||
try (Connection con = DatabaseFactory.getConnection())
|
try (Connection con = DatabaseFactory.getConnection())
|
||||||
@@ -540,7 +540,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Homunculus Reset Points has been resetted.");
|
LOGGER.info("Homunculus Reset Points has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
@@ -594,7 +594,7 @@ public class DailyTaskManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetDailyLimitShopData()
|
private void resetDailyLimitShopData()
|
||||||
{
|
{
|
||||||
for (LimitShopProductHolder holder : LimitShopData.getInstance().getProducts())
|
for (LimitShopProductHolder holder : LimitShopData.getInstance().getProducts())
|
||||||
{
|
{
|
||||||
|
@@ -363,7 +363,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -363,7 +363,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -363,7 +363,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -363,7 +363,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -363,7 +363,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -367,7 +367,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZones()
|
private void resetTimedHuntingZones()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -403,7 +403,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Special Hunting Zones has been resetted.");
|
LOGGER.info("Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZonesWeekly()
|
private void resetTimedHuntingZonesWeekly()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -439,7 +439,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -342,7 +342,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
|
@@ -379,7 +379,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZones()
|
private void resetTimedHuntingZones()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -415,7 +415,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Special Hunting Zones has been resetted.");
|
LOGGER.info("Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZonesWeekly()
|
private void resetTimedHuntingZonesWeekly()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -451,7 +451,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
@@ -505,7 +505,7 @@ public class DailyTaskManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetDailyLimitShopData()
|
private void resetDailyLimitShopData()
|
||||||
{
|
{
|
||||||
for (LimitShopProductHolder holder : LimitShopData.getInstance().getProducts())
|
for (LimitShopProductHolder holder : LimitShopData.getInstance().getProducts())
|
||||||
{
|
{
|
||||||
|
@@ -410,7 +410,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZones()
|
private void resetTimedHuntingZones()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -446,7 +446,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Special Hunting Zones has been resetted.");
|
LOGGER.info("Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZonesWeekly()
|
private void resetTimedHuntingZonesWeekly()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -482,7 +482,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
@@ -536,7 +536,7 @@ public class DailyTaskManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetDailyLimitShopData()
|
private void resetDailyLimitShopData()
|
||||||
{
|
{
|
||||||
for (LimitShopProductHolder holder : LimitShopData.getInstance().getProducts())
|
for (LimitShopProductHolder holder : LimitShopData.getInstance().getProducts())
|
||||||
{
|
{
|
||||||
|
@@ -411,7 +411,7 @@ public class DailyTaskManager
|
|||||||
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
DailyMissionData.getInstance().getDailyMissionData().forEach(DailyMissionDataHolder::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZones()
|
private void resetTimedHuntingZones()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -447,7 +447,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Special Hunting Zones has been resetted.");
|
LOGGER.info("Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetTimedHuntingZonesWeekly()
|
private void resetTimedHuntingZonesWeekly()
|
||||||
{
|
{
|
||||||
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
for (TimedHuntingZoneHolder holder : TimedHuntingZoneData.getInstance().getAllHuntingZones())
|
||||||
{
|
{
|
||||||
@@ -483,7 +483,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
LOGGER.info("Weekly Special Hunting Zones has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAttendanceRewards()
|
private void resetAttendanceRewards()
|
||||||
{
|
{
|
||||||
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
if (Config.ATTENDANCE_REWARDS_SHARE_ACCOUNT)
|
||||||
{
|
{
|
||||||
@@ -537,7 +537,7 @@ public class DailyTaskManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetDailyLimitShopData()
|
private void resetDailyLimitShopData()
|
||||||
{
|
{
|
||||||
for (LimitShopProductHolder holder : LimitShopData.getInstance().getProducts())
|
for (LimitShopProductHolder holder : LimitShopData.getInstance().getProducts())
|
||||||
{
|
{
|
||||||
@@ -563,7 +563,7 @@ public class DailyTaskManager
|
|||||||
LOGGER.info("LimitShopData has been resetted.");
|
LOGGER.info("LimitShopData has been resetted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetDailyHennaPattern()
|
private void resetDailyHennaPattern()
|
||||||
{
|
{
|
||||||
// Update data for offline players.
|
// Update data for offline players.
|
||||||
try (Connection con = DatabaseFactory.getConnection())
|
try (Connection con = DatabaseFactory.getConnection())
|
||||||
|
Reference in New Issue
Block a user