mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Calendar is now fixed. Credits to ItsGiuseppe.
This commit is contained in:
parent
fdb367966b
commit
8d7c9aff70
@ -83,8 +83,8 @@ public class UsernameEvent extends MessageHandler {
|
||||
}
|
||||
}
|
||||
|
||||
if (calendar && Emulator.getConfig().getBoolean("hotel.calendar.enabled")) {
|
||||
this.client.sendResponse(new AdventCalendarDataComposer("xmas11", Emulator.getGameEnvironment().getCatalogManager().calendarRewards.size(), (int) Math.floor((Emulator.getIntUnixTimestamp() - Emulator.getConfig().getInt("hotel.calendar.starttimestamp")) / 86400), this.client.getHabbo().getHabboStats().calendarRewardsClaimed, true));
|
||||
if (Emulator.getConfig().getBoolean("hotel.calendar.enabled")) {
|
||||
this.client.sendResponse(new AdventCalendarDataComposer("xmas15", Emulator.getGameEnvironment().getCatalogManager().calendarRewards.size(), (int) Math.floor((Emulator.getIntUnixTimestamp() - Emulator.getConfig().getInt("hotel.calendar.starttimestamp")) / 86400), this.client.getHabbo().getHabboStats().calendarRewardsClaimed, true));
|
||||
this.client.sendResponse(new NuxAlertComposer("openView/calendar"));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user