summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-04-24 09:31:44 +0200
committerGitHub <noreply@github.com>2024-04-24 09:31:44 +0200
commitc6b6f1fd9377896df0d17f1951cb84c2a1ffd24a (patch)
tree08469230a6bcd1eca867d839d6d2b789087450bb /src/main/java/at/hannibal2/skyhanni/data
parentf9b776fc3c3d09e0992816932118569ac5399431 (diff)
downloadskyhanni-c6b6f1fd9377896df0d17f1951cb84c2a1ffd24a.tar.gz
skyhanni-c6b6f1fd9377896df0d17f1951cb84c2a1ffd24a.tar.bz2
skyhanni-c6b6f1fd9377896df0d17f1951cb84c2a1ffd24a.zip
Backend: Replace Internal Commands (#1522)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt4
1 files changed, 3 insertions, 1 deletions
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 fc024a4c8..29a22138d 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt
@@ -177,7 +177,9 @@ class RepoManager(private val configLocation: File) {
if (error) {
ChatUtils.clickableChat(
"Error with the repo detected, try /shupdaterepo to fix it!",
- "shupdaterepo",
+ onClick = {
+ SkyHanniMod.repo.updateRepo()
+ },
prefixColor = "§c"
)
if (unsuccessfulConstants.isEmpty()) {