From ceef1d3be403db7ee5f8cbda8c49f3370d35df78 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 15 Aug 2023 14:14:19 +0200 Subject: removed hypixel api --- .../nether/reputationhelper/dailyquest/DailyQuestHelper.kt | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/nether') diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt index 6c9692a18..827ed137a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt @@ -176,20 +176,6 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) { update() } - @SubscribeEvent - fun onProfileDataLoad(event: ProfileApiDataLoadedEvent) { - val profileData = event.profileData - val sacks = profileData["sacks_counts"]?.asJsonObject ?: return - - sacksCache.clear() - - for ((name, v) in sacks.entrySet()) { - val amount = v.asLong - sacksCache[name] = amount - } - update() - } - @SubscribeEvent fun onRenderWorld(event: RenderWorldLastEvent) { if (!isEnabled()) return -- cgit