diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-24 18:07:27 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-24 18:07:27 +0100 |
commit | 996a75601b8c74c31bd313e4f9e94f11373e3188 (patch) | |
tree | c9bb2006716e448ce6891bdebad1c0390da34e75 /src/main/java/at | |
parent | f9d25d9808ff860df682722bb7452cd2111c4c96 (diff) | |
download | skyhanni-996a75601b8c74c31bd313e4f9e94f11373e3188.tar.gz skyhanni-996a75601b8c74c31bd313e4f9e94f11373e3188.tar.bz2 skyhanni-996a75601b8c74c31bd313e4f9e94f11373e3188.zip |
code cleanup
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt b/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt index 01f60ac87..75181c7fb 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt @@ -15,6 +15,7 @@ import at.hannibal2.skyhanni.events.LorenzTickEvent import at.hannibal2.skyhanni.events.ProfileJoinEvent import at.hannibal2.skyhanni.events.SkillOverflowLevelupEvent import at.hannibal2.skyhanni.features.skillprogress.SkillUtil.XP_NEEDED_FOR_60 +import at.hannibal2.skyhanni.utils.ChatUtils import at.hannibal2.skyhanni.utils.ChatUtils.chat import at.hannibal2.skyhanni.utils.ConditionalUtils.onToggle import at.hannibal2.skyhanni.utils.LorenzUtils @@ -274,9 +275,9 @@ object SkillProgress { this[skill] = if (level == -1) { Renderable.clickAndHover( - "§cOpen your skills menu !", + "§cOpen your skills menu!", listOf("§eClick here to execute §6/skills"), - onClick = { LorenzUtils.sendCommandToServer("skills") } + onClick = { ChatUtils.sendCommandToServer("skills") } ) } else { val tips = buildList { @@ -464,7 +465,6 @@ object SkillProgress { for (f in xpInfo.xpGainQueue) totalGain += f xpInfo.xpGainHour = totalGain * (60 * 60) / xpInfo.xpGainQueue.size - xpInfo.isActive = true } |