Addition of AttendancePopupStart configuration.
This commit is contained in:
@ -153,6 +153,7 @@ public class Config
|
||||
public static boolean PREMIUM_ONLY_ATTENDANCE_REWARDS;
|
||||
public static boolean ATTENDANCE_REWARDS_SHARE_ACCOUNT;
|
||||
public static int ATTENDANCE_REWARD_DELAY;
|
||||
public static boolean ATTENDANCE_POPUP_START;
|
||||
public static boolean ATTENDANCE_POPUP_WINDOW;
|
||||
public static boolean PLAYER_DELEVEL;
|
||||
public static int DELEVEL_MINIMUM;
|
||||
@ -1557,6 +1558,7 @@ public class Config
|
||||
PREMIUM_ONLY_ATTENDANCE_REWARDS = Attandance.getBoolean("PremiumOnlyAttendanceRewards", false);
|
||||
ATTENDANCE_REWARDS_SHARE_ACCOUNT = Attandance.getBoolean("AttendanceRewardsShareAccount", false);
|
||||
ATTENDANCE_REWARD_DELAY = Attandance.getInt("AttendanceRewardDelay", 30);
|
||||
ATTENDANCE_POPUP_START = Attandance.getBoolean("AttendancePopupStart", true);
|
||||
ATTENDANCE_POPUP_WINDOW = Attandance.getBoolean("AttendancePopupWindow", false);
|
||||
|
||||
// Load AttributeSystem config file (if exists)
|
||||
|
@ -665,6 +665,11 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
}
|
||||
}
|
||||
}, Config.ATTENDANCE_REWARD_DELAY * 60 * 1000);
|
||||
|
||||
if (Config.ATTENDANCE_POPUP_START)
|
||||
{
|
||||
player.sendPacket(new ExVipAttendanceItemList(player));
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.HARDWARE_INFO_ENABLED)
|
||||
|
Reference in New Issue
Block a user