Skip to content

Commit 20876fb

Browse files
committed
fix: correct times
1 parent 8845116 commit 20876fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • type.skyblockgeneric/src/main/java/net/swofty/type/skyblockgeneric/calendar

type.skyblockgeneric/src/main/java/net/swofty/type/skyblockgeneric/calendar/CalendarEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public record CalendarEvent(
2626
boolean tracksYear,
2727
BiConsumer<Long, Integer> action
2828
) {
29-
private static final long THREE_DAYS = 20 * 60 * 3; // 3 SkyBlock days in ticks
29+
private static final long THREE_DAYS = 3 * 20 * 60 * 24; // 3 SkyBlock days in ticks
3030
private static final long YEAR = 20 * 60 * 24 * 31 * 12; // Full SkyBlock year in ticks
3131
private static final Map<Long, List<CalendarEvent>> eventCache = new HashMap<>();
3232
private static final List<CalendarEvent> allEvents = new ArrayList<>();
@@ -58,7 +58,7 @@ public record CalendarEvent(
5858
"§7special items are sold."
5959
),
6060
calculateDarkAuctionTimes(),
61-
5 * 60L, // 5 minutes duration
61+
20 * 5 * 60L,
6262
false,
6363
(time, year) -> {
6464
ProxyService darkAuctionService = new ProxyService(ServiceType.DARK_AUCTION);

0 commit comments

Comments
 (0)