From 394b163f7e4ae4ec05e0f507d4464f54cf57ce4b Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 28 Mar 2022 17:54:56 +0000 Subject: fix item list updating too much --- src/hypixel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/hypixel.ts b/src/hypixel.ts index c72e397..44a5bd8 100644 --- a/src/hypixel.ts +++ b/src/hypixel.ts @@ -343,7 +343,7 @@ export async function fetchItemList() { cachedItemListData = itemList // updates every 60 minutes - nextElectionUpdate = new Date((itemList.lastUpdated + 60 * 60) * 1000) + nextItemListUpdate = new Date((itemList.lastUpdated + 60 * 60) * 1000) return itemList } -- cgit