From fcc31674e40ed044f46813c2185f8de29d974932 Mon Sep 17 00:00:00 2001 From: Obsidian <108832807+Obsidianninja11@users.noreply.github.com> Date: Sat, 22 Jun 2024 03:50:06 -0500 Subject: Improvement: Add hover descriptions to many ClickableChat messages (#1919) Co-authored-by: Cal Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt | 5 +++-- src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/data') diff --git a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt index 76e86db8a..3d9bdcf78 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt @@ -100,12 +100,13 @@ object ProfileStorageData { "This is needed for the mod to function! And therefore this warning cannot be disabled", onClick = { HypixelCommands.widget() - } + }, + "§eClick to run /widget!", ) } else { ChatUtils.chat( "§cExtra Information from Tab list not found! " + - "Enable it: SkyBlock Menu ➜ Settings ➜ Personal ➜ User Interface ➜ Player List Info" + "Enable it: SkyBlock Menu ➜ Settings ➜ Personal ➜ User Interface ➜ Player List Info", ) } } diff --git a/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt b/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt index 2080a1354..79d329f22 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt @@ -192,6 +192,7 @@ class RepoManager(private val configLocation: File) { onClick = { SkyHanniMod.repo.updateRepo() }, + "§eClick to update the repo!", prefixColor = "§c", ) if (unsuccessfulConstants.isEmpty()) { @@ -333,6 +334,7 @@ class RepoManager(private val configLocation: File) { onClick = { updateRepo() }, + "§eClick to update the repo!", ) } } -- cgit