diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-15 14:14:19 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-15 14:14:19 +0200 |
commit | ceef1d3be403db7ee5f8cbda8c49f3370d35df78 (patch) | |
tree | f271d2b943e37331a6f87b352dd3e670af65b7c6 /src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt | |
parent | ecb40c801ab44118059c1ef07438dfacd75e3927 (diff) | |
download | skyhanni-ceef1d3be403db7ee5f8cbda8c49f3370d35df78.tar.gz skyhanni-ceef1d3be403db7ee5f8cbda8c49f3370d35df78.tar.bz2 skyhanni-ceef1d3be403db7ee5f8cbda8c49f3370d35df78.zip |
removed hypixel api
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt b/src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt index 2db2181a1..c847c1710 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt @@ -2,7 +2,6 @@ package at.hannibal2.skyhanni.data import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent import at.hannibal2.skyhanni.events.LorenzActionBarEvent -import at.hannibal2.skyhanni.events.ProfileApiDataLoadedEvent import at.hannibal2.skyhanni.events.ProfileJoinEvent import at.hannibal2.skyhanni.utils.ItemUtils.getLore import at.hannibal2.skyhanni.utils.ItemUtils.name @@ -18,18 +17,6 @@ class SkillExperience { private val inventoryPattern = ".* §e(?<number>.*)§6/.*".toPattern() @SubscribeEvent - fun onProfileDataLoad(event: ProfileApiDataLoadedEvent) { - val profileData = event.profileData - for ((key, value) in profileData.entrySet()) { - if (key.startsWith("experience_skill_")) { - val label = key.substring(17) - val exp = value.asLong - skillExp[label] = exp - } - } - } - - @SubscribeEvent fun onProfileJoin(event: ProfileJoinEvent) { skillExp.clear() } |