aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt6
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
}