summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/nether
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-15 14:14:19 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-15 14:14:19 +0200
commitceef1d3be403db7ee5f8cbda8c49f3370d35df78 (patch)
treef271d2b943e37331a6f87b352dd3e670af65b7c6 /src/main/java/at/hannibal2/skyhanni/features/nether
parentecb40c801ab44118059c1ef07438dfacd75e3927 (diff)
downloadskyhanni-ceef1d3be403db7ee5f8cbda8c49f3370d35df78.tar.gz
skyhanni-ceef1d3be403db7ee5f8cbda8c49f3370d35df78.tar.bz2
skyhanni-ceef1d3be403db7ee5f8cbda8c49f3370d35df78.zip
removed hypixel api
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/nether')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt14
1 files changed, 0 insertions, 14 deletions
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
@@ -177,20 +177,6 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) {
}
@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
if (!SkyHanniMod.feature.misc.crimsonIsleReputationLocation) return